Ability to not run test that aren't tagged
See original GitHub issueI am on the cypress-cucumber-preprocessor 1.11.0
I should have the ability to exclude tests that are not tagged.
When I run cypress run -e TAGS='@focus'
it goes through each feature file and does not detect any tests at all
When I run cypress run TAGS='@focus'
it will go through each feature file but some of the scenarios do not have @focus
on them and it will run them anyways however if it gets to a feature file with @focus
on the scenarios it will only run those tests
I have tried @ignore
and @test
and it will run these scenarios anyways
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:26 (4 by maintainers)
Top Results From Across the Web
Ability to not run test that aren't tagged · Issue #156 - GitHub
I am on the cypress-cucumber-preprocessor 1.11.0. I should have the ability to exclude tests that are not tagged. When I run cypress run...
Read more >ScalaTest in sbt: is there a way to run a single test without tags?
In case anyone wants to run a specific integration test (supposedly placed under src/it ), they need to prepend it to testOnly ....
Read more >Running (or not running) tagged tests - Google Groups
When the test completes, I see that all of my tests have run, including those tests tagged with IntegrationTest and ComponentTest (e.g. "ran...
Read more >Component testing scenarios - Angular
The fakeAsync() function enables a linear coding style by running the test body in a special fakeAsync test zone . The test body...
Read more >8 Reasons Why a Tag in Google Tag Manager is Not Firing
A tag in Google Tag Manager is not firing? Or maybe it fires even though it shouldn't? This guide has some answers you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same experience, I think you need to remove the single quotes from the @sanity tag and run, like this cypress run --env TAGS=@sanity
Thanks for the update @juliomatcom 🙇