Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/spinningideas/testing-react-jest-enzyme
- Owner: spinningideas
- License: mit
- Created: 2020-08-18T01:21:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T02:38:51.000Z (over 4 years ago)
- Last Synced: 2024-11-14T03:35:07.669Z (3 months ago)
- Topics: enzyme, jest, react, reactjs, testautomation, testing
- Language: JavaScript
- Homepage:
- Size: 705 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`