https://github.com/codeceptjs/examples
Todo Examples
https://github.com/codeceptjs/examples
Last synced: 5 months ago
JSON representation
Todo Examples
- Host: GitHub
- URL: https://github.com/codeceptjs/examples
- Owner: codeceptjs
- Created: 2019-11-28T14:05:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T12:12:31.000Z (almost 2 years ago)
- Last Synced: 2025-10-10T00:22:12.051Z (5 months ago)
- Language: JavaScript
- Homepage: https://codecept.io
- Size: 200 KB
- Stars: 12
- Watchers: 4
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo contains tests for TodoMVC application.
Tests can be executed via different helpers.

# Installation
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 and then install the dependencies:
```
git clone git@github.com:codecept-js/examples.git codeceptjs-examples && cd codeceptjs-examples && npm i
```
This will install CodeceptJS with Puppeteer, WebdriverIO & TestCafe packages.
# Running Tests
The default helper is Playwright.
## Playwright
Use `codecept.conf.js` to run tests with Playwright:
```
npx codeceptjs run --steps
```
## Puppeteer
Use `codecept.puppeteer.conf.js` to run tests with Puppeteer:
```
npx codeceptjs run --steps -c codecept.puppeteer.conf.js
```
## WebdriverIO
Use `codecept.webdriver.conf.js` to run tests with WebdriverIO in Chrome:
```
npx codeceptjs run -c codecept.webdriver.conf.js --steps
```
## TestCafe
Use `codecept.testcafe.conf.js` to run tests with TestCafe in Chrome:
```
npx codeceptjs run -c codecept.testcafe.conf.js --steps
```
## Headless Mode
Run tests in headless mode:
```
HEADLESS=true npx codeceptjs run --steps
```
## Parallel Execution
Run tests in parallel with 3 workers:
```
npx codeceptjs run-workers 3
```
## Credits
Created as part of codepress by Stefan Huber.
Maintained by CodeceptJS Team.
## LICENSE
MIT