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

https://github.com/lnardon/reacttesting

Repository to practice React testing with Jest and Enzyme.
https://github.com/lnardon/reacttesting

enzyme jest react tdd testing

Last synced: 2 months ago
JSON representation

Repository to practice React testing with Jest and Enzyme.

Awesome Lists containing this project

README

          

# React Jest and Enzyme Testing

![Tests](https://github.com/lnardon/ReactTesting/actions/workflows/node.js.yml/badge.svg)

This projects purpose is to practice TDD in React using Jest and Enzyme.

### Installation

Clone the repository and run `yarn` on the root directory to install all dependencies.

### Usage

Run `yarn test` on the root directory to run all tests.

### Tests

- Component Render Tests
- Props Tests
- useState Tests
- useEffect Tests
- Context and useContext Tests
- Jest Functions Tests
- Data Test Attribute Tests

### What I learned/Used on this project

- Jest
- Enzyme
- TDD
- React
- React Hooks
- React Redux