-
Notifications
You must be signed in to change notification settings - Fork 6
Testing policy
LeChatErrant edited this page Mar 20, 2021
·
1 revision
Application routes are tested with jest and supertest
- Launch database and redis (
npm run dev:db && npm run dev:redis) - Launch tests
npm run integration

Code coverage is displayed at the end to make sure the application is truly tested
If you are familiar with TDD (Test Driven Development), you can try npm run integration:watch
It will launch jest watcher, continuously launching tests as you code, and displaying a nice CLI to have more control over the test suite

Coming soon