@boozingeorge/parallel-cypress
v0.0.21
Published
cli tool for run cypress test on the multi-process mode
Downloads
20
Maintainers
Readme
Description
parallel-cypress is cli tool, which helps you run cypress test on multi-process
Installation
npm i @boozingeorge/parallel-cypress -D
Usage
npx
npx @boozingeorge/parallel-cypress run -d cypress/integration -t 2
npm script:
{
"scripts": {
"parallel-run": "parallel-cypress run -d cypress/integration -t 2"
}
}
bash:
./node_modules/.bin/parallel-cypress run -d cypress/integration -t 2
Comands and options
Commands:
run Run cypress tests
run Run cypress tests
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
-t, --threads number threads to run tests [number] [default: 1]
-d, --dir path directory to run tests [string] [required]
-e, --extension file test extension [string]
--bin-path path to cypress binary
[string] [default: "node_modules/.bin/cypress"]
--output-log-dir path to output log dir
[string] [default: "parallel-cypress"]
-i, --ignore-thread-exception ignore thread exceptions for correct Allure report
[boolean]
Pass arguments
you can use custom arguments when executing tool. The special option --
is used by getopt to delimit the end of the options. Tool will pass all the arguments after the --
directly to cypress bin:
npx @boozingeorge/parallel-cypress run -d cypress/integration -t 2 -- --env allure=true