Enzyme logo

Enzyme

JavaScript Testing utilities for React, by Airbnb
997
346
+ 1
0

What is Enzyme?

Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
Enzyme is a tool in the Javascript Testing Framework category of a tech stack.
Enzyme is an open source tool with GitHub stars and GitHub forks. Here’s a link to Enzyme's open source repository on GitHub

Who uses Enzyme?

Companies
117 companies reportedly use Enzyme in their tech stacks, including Airbnb, caredoc, and Dixa.

Developers
250 developers on StackShare have stated that they use Enzyme.

Enzyme Integrations

Enzyme's Features

  • Shallow rendering
  • Full DOM rendering
  • Static rendered markup
  • React Hooks support

Enzyme Alternatives & Comparisons

What are some alternatives to Enzyme?
react-testing-library
It is a simple and complete React DOM testing utility that encourage good testing practices. It provides light utility functions on top of react-dom and react-dom/test-utils, in a way that encourages better testing practices.
Jest
Jest provides you with multiple layers on top of Jasmine.
Mocha
Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
Jasmine
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Cypress
Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
See all alternatives

Enzyme's Followers
346 developers follow Enzyme to keep up with related blogs and decisions.