-
-
Notifications
You must be signed in to change notification settings - Fork 220
Unit Tests and Coverage
Akram El Assas edited this page Jan 26, 2025
·
8 revisions
Below are the instructions to run unit tests and build coverage report.
- Follow the steps regarding the API in Run from Source documentation
- To run the unit tests, run the following commands:
cd ./api
npm install
npm test
Once you run unit tests, a coverage report is automatically built in:
./api/coverage
You can also view the coverage report on coveralls or codecov.
Copyright © 2025 Akram El Assas. All rights reserved.
- Overview
- Why Use BookCars
- Architecture
- Installing (Self-hosted)
- Installing (VPS)
- Installing (Docker)
- Payment Gateways
- Setup Stripe
- Build Mobile App
- Demo Database
- Run from Source
- Run Mobile App
- Add New Language
- Add New Currency
- Unit Tests and Coverage
- Manual Tests
- Price Calculation
- Supplier Contracts
- Logs
- FAQ