No need to start with the seed -- plant the sapling!
- Code linting, via ESLint
- Code formatting, via Prettier
- Conventional commits, via git-cz
- HTML test results, via mochawesome
- JUnit test results (for CI integration), via mocha-junit-reporter
- Intuitive test commands, via Testing Library
- Filter tests to run based on tags, via cypress-select-tests
- Wait the test execution until a condition is true, via cypress-wait-until
- Docker commands to build an image ready to run tests anywhere
For a complete list of tasks, have a look at package.json
. We highlight the following:
yarn deps:install # installs dependencies, using the versions specified on yarn.lock
yarn secrets:setup # creates an unversioned file with secret env vars
yarn c # performs a conventional commit, using an interactive dialog
yarn cypress # runs tests with Cypress via command line
yarn cypress:debug # runs tests with Cypress via User Interface
yarn docker:build # builds a Docker image containing Cypress + dependencies + tests
yarn format:fix # fixes the indentation of your code
yarn lint:fix # fixes the linting of your code
yarn test # runs tests (cli) and displays the results in a report
- Cypress workshop: a workshop complete with application, exercise tests and speaker slides