[cucumber] missing the command --line option


#1

Cucus,

previous versions of cucumber had a command --line option that let you
run only one scenario given its line at the feature file.

Now, as far as I know, to do the same thing (run a specific scenario) I
have to use the --scenario option writing the scenario name.

In my opinion, since cucumber’s standard output gives you each
scenario’s line number, I feel that the --line option was faster and
easier to use.

WDYT?


Fernando García Samblas
removed_email_address@domain.invalid
http://nando.lacoctelera.com

The Cocktail
C/ Salamanca 17
28020 Madrid
+34 91 567 06 05


#2

On Wed, Jan 14, 2009 at 8:22 PM, Fernando García Samblas <
removed_email_address@domain.invalid> wrote:

Cucus,

previous versions of cucumber had a command --line option that let you
run only one scenario given its line at the feature file.

foo.feature:line is even faster - you can copy-paste it

http://wiki.github.com/aslakhellesoy/cucumber/running-features


#3

On 14 Jan 2009, at 19:22, Fernando García Samblas wrote:

In my opinion, since cucumber’s standard output gives you each
scenario’s line number, I feel that the --line option was faster and
easier to use.

WDYT?

Use this syntax:

cucumber path/to/your.feature:41

where 41 is the line number where your scenario starts. It’s actually
pretty nice as you can copy / paste it straight in from the backtrace,
though it’s a shame it’s inconsistent with rpsec.

Matt W.
http://blog.mattwynne.net
http://www.songkick.com


#4

aslak hellesoy
escribió:>

foo.feature:line is even faster - you can copy-paste it
In two words: awe-some :slight_smile:

Thanks again!

http://wiki.github.com/aslakhellesoy/cucumber/running-features
I should read the wiki before asking at the list
I should read the wiki before asking at the list
I should read the wiki before asking at the list
[1000 times ;)]

28020 Madrid

rspec-users mailing list
removed_email_address@domain.invalid
http://rubyforge.org/mailman/listinfo/rspec-users


Fernando García Samblas
removed_email_address@domain.invalid
http://nando.lacoctelera.com

The Cocktail
C/ Salamanca 17
28020 Madrid
+34 91 567 06 05


#5

Matt W.
escribió:> Use this syntax:

cucumber path/to/your.feature:41
Thanks Matt!

“I should read usage info from top to bottom before asking in the list”
“I should read usage info from top to bottom before asking in the list”
“I should read usage info from top to bottom before asking in the list”
[1000 times ;)]

rspec-users mailing list
removed_email_address@domain.invalid
http://rubyforge.org/mailman/listinfo/rspec-users


Fernando García Samblas
removed_email_address@domain.invalid
http://nando.lacoctelera.com

The Cocktail
C/ Salamanca 17
28020 Madrid
+34 91 567 06 05