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 19.8K GitHub stars and 2.1K GitHub forks. Here’s a link to Enzyme's open source repository on GitHub

Who uses Enzyme?

107 companies reportedly use Enzyme in their tech stacks, including Airbnb, Stack, and BlaBlaCar.

228 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.
It is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. It has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.
See all alternatives

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