Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spinningideas/testing-react-jest-enzyme

Reference implementation of testing approach for React JS applications using Jest and Enzyme
https://github.com/spinningideas/testing-react-jest-enzyme

enzyme jest react reactjs testautomation testing

Last synced: about 1 month ago
JSON representation

Reference implementation of testing approach for React JS applications using Jest and Enzyme

Awesome Lists containing this project

README

        

# Testing React JS via Jest and Enzyme

Reference implementation of testing approach for React JS applications using Jest and Enzyme

## Jest

Jest is a JavaScript testing framework with a focus on simplicity. It can be installed with npm or Yarn. Jest falls under a category of utility known as test runners that works with React applications and also works outside of React applications.

## Enzyme

Enzyme is a library that is used to test React applications. It’s designed to test components, and it makes it possible to write assertions that simulate actions that confirm whether the UI is working correctly.

Jest and Enzyme complement each other.

## Live Demo

https://spinningideas.github.io/testing-react-jest-enzyme/

# Get Started

1. Clone this repo locally

2. Run `npm install`

3. Run `npm test`