[Ruby] Are you using tag limits?

61 views
Skip to first unread message

aslak hellesoy

unread,
Aug 20, 2013, 1:56:34 AM8/20/13
to Cucumber Users
Cucumber lets you run scenarios by tag, and while doing so it also lets you specify a max allowed count:

  cucumber --tags @bad:5

This would fail if there were more than 5 scenarios tagged with @bad.

Please let us know if you are using this feature. We're considering removing it to simplify the codebase a little.

Aslak

Julien Biezemans

unread,
Aug 20, 2013, 4:18:03 AM8/20/13
to cu...@googlegroups.com
I never use it.
 
Aslak

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Julien.

Bitmessage: BM-2D9dmBtB87TmcDBXhGFVXyrMrMPpL1ycgT

Scott Smith

unread,
Aug 20, 2013, 11:07:09 AM8/20/13
to cu...@googlegroups.com
I hadn't even heard about it.

I'm unable to think of a use case where I would use it.  Interesting feature, but it falls in the category "band aid" in my mind.
 
Aslak

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Scott Smith

http://twitter.com/_ofd (OldFartDeveloper)

Everton Moreth

unread,
Sep 5, 2013, 11:09:58 AM9/5/13
to cu...@googlegroups.com
I believe this could work not as a restriction, but as a limit.

Like, if I have a hundred bad scenarios, I would want to run the first 5 of them, to fix them and remove the @bad tag. So I could continuously run just five of them until I fix them all.

On the other hand, I can't see this useful on anything else then WIP, errors, or warning tags.

reach....@gmail.com

unread,
Sep 5, 2013, 2:53:49 PM9/5/13
to cu...@googlegroups.com
Nope not using it now. Moved to WIP and its been working good. 
Reply all
Reply to author
Forward
0 new messages