cypress-parallel-cli

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 5 Imported by: 0

README

cypress-parallel-cli CircleCI

cypress-parallel-cli is the tool that will be used by cypress-parallel to run cypress unit testing in parallel.

At the execution of each spec, it will send back the result to the API.

Debug

To debug your code directly in the docker container, do this:

sudo docker run --rm --entrypoint="" -v $PWD:/tmp/cypress-parallel-cli -exec -ti ghcr.io/lord-y/cypress-parallel-docker-images/cypress-parallel-docker-images:7.4.0-0.1.0 bash
# install golang
scripts/golang.sh 1.17.5
source ~/.bashrc
# exemple of command
export CYPRESS_PARALLEL_CLI_LOG_LEVEL=debug
go run main.go cypress --repository https://github.com/cypress-io/cypress-example-kitchensink.git --specs cypress/integration/2-advanced-examples/connectors.spec.js --uid uuid --report-back

Git hooks

Add githook like so:

git config core.hooksPath .githooks

Linter

# https://golangci-lint.run/usage/install/
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package cmd manage all commands required to launch cypress-parallel-cli Package cmd manage all commands required to launch cypress-parallel-cli Package cmd manage all commands required to launch cypress-parallel-cli
Package cmd manage all commands required to launch cypress-parallel-cli Package cmd manage all commands required to launch cypress-parallel-cli Package cmd manage all commands required to launch cypress-parallel-cli
cypress
Package cypress assemble all commands required to run cypress unit testing
Package cypress assemble all commands required to run cypress unit testing
Package git will manage all requirements to clone repository
Package git will manage all requirements to clone repository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL