Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tagging examples in scenario outlines
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy Waite  
View profile  
 More options Sep 16 2011, 4:35 pm
From: Andy Waite <andywa...@gmail.com>
Date: Fri, 16 Sep 2011 13:35:58 -0700 (PDT)
Local: Fri, Sep 16 2011 4:35 pm
Subject: Tagging examples in scenario outlines
I was reading this old post about tagging example groups:

http://groups.google.com/group/cukes/browse_thread/thread/6613b707b52...

and I created this feature;

  http://pastie.org/pastes/2544812/text

But when I run it with the -t option, it fails with the error below.

I found a page which suggest it may be connected to a bug with running
empty scenario outlines:

  http://qastuffs.blogspot.com/2011/07/cucumber-undefined-method-line-f...

$ bundle exec cucumber features/example.feature -t ~@failing --dry-run
Using the default profile...
undefined method `line' for nil:NilClass (NoMethodError)
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
formatter/filter_formatter.rb:64:in `examples'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
formatter/tag_count_formatter.rb:30:in `examples'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
listener/formatter_listener.rb:107:in `replay_step_or_examples'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
listener/formatter_listener.rb:65:in `eof'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
parser/parser.rb:46:in `method_missing'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
lexer/i18n_lexer.rb:23:in `scan'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
lexer/i18n_lexer.rb:23:in `scan'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/gherkin-2.3.5/lib/gherkin/
parser/parser.rb:31:in `parse'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/feature_file.rb:37:in `parse'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime/features_loader.rb:28:in `block in load'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime/features_loader.rb:26:in `each'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime/features_loader.rb:26:in `load'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime/features_loader.rb:14:in `features'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime.rb:132:in `features'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/runtime.rb:45:in `run!'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/cli/main.rb:43:in `execute!'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/lib/
cucumber/cli/main.rb:20:in `execute'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-0.10.2/bin/
cucumber:14:in `<top (required)>'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/bin/cucumber:19:in `load'
/Users/andy/.rvm/gems/ruby-1.9.2-p290/bin/cucumber:19:in `<main>'


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aslak hellesoy  
View profile  
 More options Sep 16 2011, 5:06 pm
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Fri, 16 Sep 2011 22:06:32 +0100
Local: Fri, Sep 16 2011 5:06 pm
Subject: Re: [Cucumber:9100] Tagging examples in scenario outlines

I'm working on a fix.

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aslak hellesoy  
View profile  
 More options Sep 16 2011, 6:48 pm
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Fri, 16 Sep 2011 23:48:57 +0100
Local: Fri, Sep 16 2011 6:48 pm
Subject: Re: [Cucumber:9100] Tagging examples in scenario outlines

On Fri, Sep 16, 2011 at 10:06 PM, aslak hellesoy
<aslak.helle...@gmail.com>wrote:

Done. Upgrade to gherkin 2.4.20.

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Waite  
View profile  
 More options Sep 16 2011, 7:23 pm
From: Andy Waite <andywa...@gmail.com>
Date: Fri, 16 Sep 2011 16:23:55 -0700 (PDT)
Local: Fri, Sep 16 2011 7:23 pm
Subject: Re: Tagging examples in scenario outlines

> Done. Upgrade to gherkin 2.4.20.

> Aslak

That seems to work, thanks!

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »