-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Currently there exists no way to run a suite of spec files in Cypress #263
Comments
Is there any update/ETA on this feature? Should be an easy addition. Mocha already supports this feature, its just a matter of exposing it through cypress. |
No updates yet - although mocha supports this out of the box (for node processes), Cypress runs in the browser, and we'll have to specifically code an integration for this to work well. For instance, this flag makes sense when running all of the tests once, but it doesn't work so well when working in the GUI mode. If you were to What if both an |
I understand that it can get tricky to support this in the browser but maybe that use-case is not as important. I think the use case of this flag is mostly when used to run the tests through the command line (atleast in my scenario) where I want to batch together specific test files when running on CI or locally using the |
Okay thats a good point, adding this specifically for the CLI would be much easier. |
Any updates, if this is easy can we pls have it in the next release. Will help us quite a bit. |
Hello, is this feature now available to use? |
Nope. When its ready this issue will be closed and you'll see it in the changelog. Unfortunately there are higher priority features / bugs we're working on. You can look at our projects roadmap for In January we'll have more bandwidth as some of the bigger projects we're working on will be done. We are working towards an open source release which will make it possible to accept community contributions. |
Closing as duplicate of #681 - this should be released soon. |
Fixed by PR #1583 |
@brian-mann is there any documentation on how to go about running individual suites? |
@bmanuel what do you mean individual suites? |
@brian-mann I think @bmanuel was asking for documentation on how to run multiple spec files, since you commented that this issue was fixed in #1583, but the PR doesn't have much detail. |
@brian-mann, @jessejoe nailed it. Sorry, I forgot to respond right away with that. |
The code for this is done and sitting in our |
Released in |
Mocha has a --grep option that takes in a pattern and runs all spec files that match it. I would like cypress to support this feature as there are times where i want to group together a few spec files in my CI build but not run all the spec files at once.
The --spec option allows you to run a single spec file but not a combination.
The text was updated successfully, but these errors were encountered: