Home > Programming, QA > Using tags in Scenarios of Cucumber/Calabash

Using tags in Scenarios of Cucumber/Calabash


I run cucumber with various combinations of the following tags:
  –tags @this_one  (used as a short-term tag so that I can run only specific scenario(s))
  –tags ~@known_to_pass   (skip all scenarios that I know always pass, so that I can concentrate on tests that always or sometimes fail
  –tags ~@known_to_fail  (as above, also I can do a File Search/grep for “known_to_pass”/”known_to_fail” and update my boss on the state of the project/test cases
  –tags @BUG_XYZ (run/locate/count all scenarios related to a specific bug/issue)
  –tags @skip  (skip all scenarios that are known to fail and cause subsequent test cases to fail)
  –tags @ios –tags ~@android  (run only scenarios that apply to iPhone/iPad, but not to Android)
  –tags @wip (run scenarios in progress)
  –tags @debug (run scenarios that I want debug)
and you can create yours 🙂
  1. March 16, 2016 at 3:21 pm

    hi this is a nifty site that you’ve, thank u 4 sharing it with us.

  2. December 28, 2016 at 12:31 pm

    Having read this I believed it was rather enlightening. I appreciate you spending some time and effort to put this information together. I once again find myself spending a significant amount of time both reading and posting comments. But so what, it was still worthwhile!

  3. December 29, 2016 at 7:33 am

    Great info. Lucky me I recently found your website by accident (stumbleupon). I have book marked it for later!|

  4. December 31, 2016 at 4:36 am

    Helpful information. Lucky me I found your website by accident, and I am stunned why this twist of fate didn’t happened in advance! I bookmarked it.|

  5. January 4, 2017 at 8:56 am

    I am not sure where you’re getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for great info I was looking for this information for my mission.|

  6. January 6, 2017 at 5:05 am

    Hey would you mind stating which blog platform you’re using? I’m planning to start my own blog in the near future but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S My apologies for being off-topic but I had to ask!|

  7. January 12, 2017 at 7:37 am

    I’ve been exploring for a little bit for any high-quality articles or blog posts in this sort of area . Exploring in Yahoo I ultimately stumbled upon this website. Reading this information So i’m happy to express that I’ve a very good uncanny feeling I found out just what I needed. I most indubitably will make certain to do not fail to remember this web site and give it a look regularly.|

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: