Integration Tests and Coverage - aelassas/bookcars GitHub Wiki
Below are the instructions to run integration tests and build coverage report.
Integration Tests
- Follow the steps regarding the backend server in Run from Source documentation
- To run the integration tests, run the following commands:
cd ./backend
npm install
npm test
Integration tests are written in ./backend/__tests__/
folder.
Coverage
Once you run integration tests, a coverage report is automatically built in:
./backend/coverage
You can also view the coverage report on coveralls or codecov.