This repo contains tests for TodoMVC application. Tests can be executed via different backends.
This is a playground for your first steps in testing, so instead of installing it from NPM it is recommended to clone it from repo instead.
- Clone this repository.
- Install ALL dependencies:
npm i
This will install codeceptjs with puppeteer, webdriverio & testcafe packages.
Use codecept.conf.js
to run tests with Puppeteer:
npx codeceptjs run --steps
Run tests in headless mode:
HEADLESS=true npx codeceptjs run --steps
Run tests in parallel with 3 workers (headless mode):
HEADLESS=true npx codeceptjs run-workers 3
Use codecept.webdriver.conf.js
to run tests with WebDriver in Chrome:
npx codeceptjs run -c codecept.webdriver.conf.js --steps
Run tests in headless mode:
HEADLESS=true npx codeceptjs run -c codecept.webdriver.conf.js --steps
Run tests in parallel with 3 workers (headless mode):
HEADLESS=true npx codeceptjs run-workers 3 -c codecept.webdriver.conf.js
Use codecept.testcafe.conf.js
to run tests with TestCafe in Chrome:
npx codeceptjs run -c codecept.testcafe.conf.js --steps
Run tests in headless mode:
HEADLESS=true npx codeceptjs run -c codecept.testcafe.conf.js --steps
Run tests in parallel with 3 workers (headless mode):
HEADLESS=true npx codeceptjs run-workers 3 -c codecept.testcafe.conf.js
Created as part of codepress by Stefan Huber. Maintained by CodeceptJS Team.
MIT