question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to not run test that aren't tagged

See original GitHub issue

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 -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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:26 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
anilkoitharacommented, Apr 24, 2019

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

1reaction
sawasawasawacommented, Jun 5, 2019

Thanks for the update @juliomatcom 🙇

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found