This project is made for pedagogic purposes.
- NodeJS engine
- Express : The NodeJS server framework
- Mocha : test framework for NodeJS
- Chai, Chai-http : API test and assertions
- C8 : test coverage audit and reporting
Install dependencies
npm i
Enjoy it !
Test with coverage audit
npm test
Test driven developement
npm run tdd
Will generate a report into the terminal For more readable reportings, check the doc : https://github.com/bcoe/c8
Mocha test framework : https://mochajs.org/#getting-started Chai assertions : https://www.chaijs.com/api/assert/ Test coverage options and reportings : https://github.com/bcoe/c8