Skip to content

yayura/codeceptJS_ready

Repository files navigation

https://codecept.io/

https://runebook.dev/ru/docs/codeceptjs/best

install

branch - develop

npm сi

Run local

  1. add env var URI_PREFIX
export  URI_PREFIX={env}

or write in /misc/urls.js

  1. Run tests:
npx codeceptjs run   --config=codecept.conf.js  --steps   --grep @s --verbose
or
npx codeceptjs run   --config=codecept.conf.ci.js  --steps   --grep @s -p allure
or
npx codeceptjs run-workers 5 --grep @q1 -p allure
or
npx codeceptjs run --grep @protocol -p allure

options:

  • configs: --config codecept.conf.js --config codecept.conf.api.js --config codecept.conf.ci.js

  • run in ci

https://codecept.discourse.group/t/codeceptjs-gitlab-integration/427

  • run separate (tag) --grep @r regress --grep @s smoke
  • print scenarious without run dry-run
  • save to Allure report --plugins allure

other options https://codecept.io/commands or --help

For start local allure service with data from output/

allure serve output

Run eslint

Install:

npm install -g eslint

Run command: eslint ./ --fix

Run build

Tags

Tags in project:

  • Types of testing:
    • @s_ - smoke
    • @a_ - api
    • @q_ - diff q
    • @inprogress - not ready;
  • External tags:

About

My ready to implement test-framework CodeceptJS + API + BackStopJS+ Allure + ESLint + CI +

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published