Full stack test suite
-
Install dependencies
yarn
-
Run the service
yarn start
Make sure to delete the db container to make sure it rebuilds for testing
- Framework – Jest
- Usage – Test UI w/ snapshots and mocking
- Run
yarn functional
- Framework – Jest
- Usage – Test all the API endpoints for roles, data access, and function
- Run
yarn integration
- Framework – K6
- Usage – Stress and Load test the application
- Run yarn
performance