- Software Testing homework - INT3117_2
- Clone the repository
git clone https://github.com/LostArrows27/jest-testing
- Cd into the folder
cd jest-testing
- Install dependencies
npm i; npm i --save-dev @types/jest; npm i --save-dev @types/mocha
- Run all test
npm run test
- Run white box testing (C2 coverage)
npm test -- c2coverage.test.ts
- Run black box testing (Equivalence Partitioning)
npm test -- shippingFee.test.ts