codeceptjs

v3.5.11
Supercharged End 2 End Testing Framework for NodeJS
acceptance end2end end 2 end puppeteer webdriver testcafe playwright bdd tdd and 2 more...

def

./runok.js def

docs

./runok.js docs

lint

eslint bin/ examples/ lib/ test/ translations/ runok.js

test

npm run test:unit && npm run test:runner

dtslint

dtslint typings --localTs './node_modules/typescript/lib'

prepare

husky install

lint-fix

eslint bin/ examples/ lib/ test/ translations/ runok.js --fix

test:unit

mocha test/unit --recursive --timeout 10000

dev:graphql

node test/data/graphql/index.js

json-server

./node_modules/json-server/bin/index.js test/data/rest/db.json -p 8010 --watch -m test/data/rest/headers.js

test:runner

mocha test/runner --recursive --timeout 10000

publish:site

./runok.js publish:site

test-app:stop

kill -9 $(lsof -t -i:8000)

test-app:start

php -S 127.0.0.1:8000 -t test/data/app

prepare-release

./runok.js versioning && ./runok.js get:commit-log

test:unit:expect

mocha test/helper/Expect_test.js

test:appium-other

mocha test/helper/AppiumV2_test.js --grep 'second'

test:appium-quick

mocha test/helper/AppiumV2_test.js --grep 'quick'

json-server:graphql

node test/data/graphql/index.js

test:ios:appium-other

mocha test/helper/AppiumV2_ios_test.js --grep 'second'

test:ios:appium-quick

mocha test/helper/AppiumV2_ios_test.js --grep 'quick'

update-contributor-faces

./runok.js contributor:faces

test:unit:webbapi:testCafe

mocha test/helper/TestCafe_test.js

test:unit:webbapi:puppeteer

mocha test/helper/Puppeteer_test.js

test:unit:webbapi:webDriver

mocha test/helper/WebDriver_test.js

test:unit:webbapi:playwright

mocha test/helper/Playwright_test.js

Metadata

  • MIT
  • >=16.0
  • DavertMik
  • released 1/1/2024

Downloads