Enzyme logo

Enzyme

JavaScript Testing utilities for React, by Airbnb
940
347
+ 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
116 companies reportedly use Enzyme in their tech stacks, including Airbnb, caredoc, and Dixa.

Developers
298 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.
Chai
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.
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.
See all alternatives

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