tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
560 stars 117 forks source link

Support yargs "stop parsing" instead of args flag #162

Open SampsonCrowley opened 1 year ago

SampsonCrowley commented 1 year ago

https://github.com/yargs/yargs/blob/HEAD/docs/tricks.md#stop-parsing

this repo is littered with compaints about "-a" not working as expected. requiring a non-standard escaped quoting and aplitting args incorrectly can be done better by just proxying everything in the argv._ group

so command with extra args just becomes:

npx cypress-parallel -s cy:run -t 4 -- --all of --this will="be ",parsed=correctly