React Testing Library has become an extremely popular option for testing React, and with good reason! This detailed, comprehensive course provides a solid foundation for React app tests.
- Testing simple and complex React applications with React Testing Library
- Making the most of Jest watch mode, including running only one file or test at a time
- React Testing best Practices: how to test behavior instead of implementation
- Common errors returned by Testing Library and how to correct them
- React JS 18
- Vite
- Semantic UI
- Jest
- React Testing Library
- Eslint & Prettier
This React project has been created using Vite.
Step 1:
You need to install yarn. Yarn is a package and library manager.
Step 2:
git clone https://github.com/bryanAguilar001/react-jest-testing-library-app.git
cd testing-react-app
Step 3:
Run this command to install libs
yarn
Step 4:
Download and run the server in this repo
Step 5:
Run the app
yarn start
Step 6:
Run tests (It is not necessary to run the server for testing)
yarn test
- Website - www.bryan-aguilar.com
- Medium - baguilar6174
- LinkeIn - baguilar6174