Cypress Spec Files
By default, Cypress will run all the spec files it can find.
You can specify a --specs
option with the TestingBot CLI to only run a subset of your specs on TestingBot.
Argument | Shorthand Argument | Possible values |
---|---|---|
--specs |
-s |
comma-separated paths or globs for your spec files |
Copy
testingbot-cypress run --specs "cypress/integration/examples/window.spec.js"
testingbot-cypress run --specs "cypress/integration/register/**/*"
testingbot-cypress run --specs "cypress/integration/examples/files.spec.js,cypress/integration/examples/navigation.spec.js"