Skip to content

A simple example, demonstrating how to write unit tests and end to end tests in React apps using Jest and Cypress

Notifications You must be signed in to change notification settings

AbolfazlHeidarpour/appointments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appointments app

Simple example, demonstrating how to write unit tests and e2e tests using Jest and Cypress. Created by create-react-app

How to start the app?

clone the repository using git clone command. then run npm i in root folder, then run npm start to see.

How to run tests?

unit tests

In order to run unit tests written by Jest, run npm run test.

To get coverage report, run npm run converage.

e2e tests

In order to run e2e tests written by Cypress, run npm run cypress:open to start Cypress GUI application, Then select desired e2e test file from the shown list.

About

A simple example, demonstrating how to write unit tests and end to end tests in React apps using Jest and Cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published