Skip to content

Conversation

bvandercar-vt
Copy link

@bvandercar-vt bvandercar-vt commented Jun 5, 2025

Non-breaking change! Args all work the same as before. Allows passing of one or more files, dirs, or glob patterns to the --spec arg, which still aliases --specsDir and -d to not break existing functionality.

"scripts" :{
...
"cy:run": "cypress run", // It can be any cypress command with any argument
"cy:parallel" : "cypress-parallel -s cy:run -t 2 -d '<your-cypress-specs-folder>' -a '\"<your-cypress-cmd-args>\"'"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-d still totally works just the same, not broken with this change! --spec just makes more sense to recommend, because it can now be a dir or a file or a glob.


# How to use

## Install
Copy link
Author

@bvandercar-vt bvandercar-vt Jun 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just copied this from ./README.md to match.

@bvandercar-vt bvandercar-vt changed the title refactor: Have only 1 spec arg. Allow glob patterns in the list. feat: Have only 1 spec arg. Allow glob patterns in the list. Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant