This project is a refactoring 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 run start:back
To start the frontend of the application in development mode, run:
npm run start:front
To run the end-to-end tests using Cypress (remember to start the frontend and backend project before to execute it), run:
npm run test:e2e
Note: It is necessary to have both the frontend and backend running for the E2E tests to work.
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 (E2E, integration, and unit) in one operation, run:
npm test