The calculation script is located at /swissborg_challange/cypress/e2e
.
- Clone repo and navigate to folder
- Install Cypress:
npm install cypress
- For a headless run:
npx cypress run --headless -b chrome
2.1 For interactive run:
- npx cypress open
- In cypress dialogue select E2E
- Select
factorial_calculator
spec
Invalid Calculations will be written to invalid_calculations_list.txt or can be seen in DevTools when running script using UI or in Cypress results.
You can find results for manual exercises in files Exercise_1_Bugs_and_testcases.txt and Excercise2_Acceptance_Criteria.txt Bugs for the calculator are listed at the end of the Exercise_1 file.