https://runebook.dev/ru/docs/codeceptjs/best
branch - develop
npm сi- add env var URI_PREFIX
export URI_PREFIX={env}or write in /misc/urls.js
- 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 allureoptions:
-
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 @rregress--grep @ssmoke - 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 outputInstall:
npm install -g eslintRun command: eslint ./ --fix
Tags in project:
- Types of testing:
@s_- smoke@a_- api@q_- diff q@inprogress- not ready;
- External tags: