A simple toodo list demo with es6 frontend and bdd tests with cypress.
Software | Min. version | Info |
---|---|---|
NodeJS | 18 | Usage for npm. |
Chromium | 80 | Usage for cypress tests. |
Checkout this repository and go into the directory:
git clone https://github.com/thierryiseli/javascript-demo-todolist-cypress.git
cd javascript-demo-todolist-cypress
Install with npm:
npm install
Run todo demo:
npm run dev
Run the tests in a new terminal:
npm run test
Cucumber steps are placed in the path ./test/bdd/steps
.
Feature files are placed in the path ./test/bdd/features
.
Change the parameter --brwoser
in the package.json
inside script command dev
.