Cypress | Cucumber Boilerplate
Features
Installation
sudo npm install -g yarn
yarn
Test Runner
Action |
Command |
Yarn test runner |
yarn tests |
Node test runner |
npm run tests |
Docker test runner |
docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.1.1 |
Scale Docker containers for parallel testing |
docker-compose up --scale e2e=3 |
Shell runner |
bash build.sh |
Cypress Launcher
npm run open
OPTIONAL
Action |
Command |
husky initializer |
npx husky-init |
linter on stagged git files |
yarn lint-staged |
skip mandatory linter |
git commit -am '<message>' --no-verify |