Case management web application for Computer-Assisted Personal Interviewing (CAPI)
Unit Tests use the Vitest framework. You can run these tests with the following command:
yarn test
yarn test --coverage
We can also run end-to-end test thank to Playwright.
npx playwright test
npx playwright test --ui
Before executing the test, we will :
- build the project (in order to be sure that the test are running on the production-ready application)
- launch a static server (thanks to npx serve)