Enzyme logo


JavaScript Testing utilities for React, by Airbnb
+ 1

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?

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

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?
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 provides you with multiple layers on top of Jasmine.
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 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 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.