E2E backend tests
FKMTime has a set of E2E tests that are testing the backend part of the application. These tests are using the real database.
Running tests
- Go to the
backend
directory and reset the database
npm run prisma:reset
- Seed the database with test data
npm run prisma:seed-test
- Run the tests
npm run test:e2e
note
E2E will run after every push to the repository, so you can check the status of the tests in the GitHub Actions tab.