Skip to content

codexarama/Billed

Repository files navigation

Billed

Projet fictif de formation n°06/11 | OpenClassrooms

Landing page

landing page

Rapport du test de couverture obtenue

landing page

PROBLEMATIQUE

L'application web comporte des erreurs (majeures et mineures) sur le parcours employé qui doivent être analysées et déboguées.

BESOIN

Tester et débugger pour fiabiliser et améliorer le parcours employé.

Livrables

  • Correction des erreurs détectées sur les parcours Employé et Administrateur
  • Tests unitaires
  • Tests d'intégration GET + POST
  • Tests fonctionnels : plan de tests End-to-End du parcours employé

Ressources fournies

Installer

How to run the App localy

clone the project $ git clone https://github.com/OpenClassrooms-Student-Center/P6-front-end-testing.git

go to the cloned repo $ cd P6-front-end-testing

install npm packages (described in package.json) $ npm install

install live-server to run a local server $ npm install -g live-server

launch the App $ live-server

then go to http://127.0.0.1:8080/

How to run all tests with Jest

$ npm run test

How to run a single test

install jest-cli $npm i -g jest-cli then $jest src/__tests__/your_test_file.js

How to see test coverage

http://127.0.0.1:8080/coverage/lcov-report/