This project is a backend testing exercise for the Sustainable Testing course. It is designed to provide hands-on experience in applying best practices for sustainable testing within a modern development environment.
- Node.js
- NVM
Before starting the project, you must switch to the correct Node version and install the necessary dependencies. Run the following commands in your terminal:
nvm use
npm install
To start the backend of the application in development mode, run:
npm start
To run the unit tests using Jest, run:
npm run test:unit
To run the integration tests using Jest, run:
npm run test:integration
To run all tests (Integration and unit) in one operation, run:
npm test
The solution to the backend testing exercise can be found in the final
branch of this repository.