0.0.21 • Published 3 years ago

@boozingeorge/parallel-cypress v0.0.21

Weekly downloads
17
License
ISC
Repository
github
Last release
3 years ago

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
0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.11

3 years ago

0.0.14

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago