This project was generated with Angular CLI version 14.1.0.
Git clone:
git clone https://github.com/OpenClassrooms-Student-Center/P5-Full-Stack-testing
Go inside folder:
cd back
mvn spring-boot:run
Go inside folder:
cd front
Install dependencies:
npm install
Launch Front-end:
npm run start;
For Postman import the collection
ressources/postman/yoga.postman_collection.json
by following the documentation:
SQL script for creating the schema is available ressources/sql/script.sql
By default the admin account is:
- login: yoga@studio.com
- password: test!1234
For launch and generate the jacoco code coverage:
mvn clean test
Launching e2e test:
npm run e2e
Generate coverage report (you should launch e2e test before):
npm run e2e:coverage
Report is available here:
front/coverage/lcov-report/index.html
Launching test:
npm run test
for following change:
npm run test:watch