gherkin

How to learn/teach Gherkin for Cucumber

Hi, I'd like to enable the business analysts to be able to write all of their specs for features, scenarios and steps that is Cucumber friendly using Gherkin. I've read some of the basic info on the github site for Cucumber and from doing a quick Google search but wanted to know if there were recommended resources for getting non-techn...

How to get Gherkin syntax highlighting for .feature files in Visual Studio?

There's no highlighting for Feature, Scenario, Given, When, Then, etc. keywords by default. Is there a ready made template out there to enable this? ...

How do I disable a feature in specflow (Gherkin) without deleting the feature?

I have some SpecFlow features (using the Gherkin syntax) and I would like to temporarily disable the feature to prevent its tests from running? Is there an attribute I can mark the feature with to do this? I'm guessing that something that works with Cucumber might also work with SpecFlow. ...

Unable to run Cucumber using IronRuby

I'm hoping someone knows the answer to this, I'm running Cucumber from IronRuby and getting an IKVM exception. Stack trace is at the bottom. RSpec works fine. Any ideas? can't convert Array into java::util::List (TypeError) C:/Program Files/IronRuby 1.0v4/lib/ironruby/gems/1.8/gems/gherkin-2.1.5-universal-dotnet/lib/gherkin/native...

Parse issues when trying to use "Examples" section in Cucumber feature

No luck in googling on this error message features/manage_hand_evaluator.feature: Parse error at features/manage_hand_evaluator.feature:21. Found examples when expecting one of: comment, py_string, row, scenario, scenario_outline, step, tag. (Current state: step). (Gherkin::Parser::ParseError) Here's the setup I have for Examples secti...

Using cucumber with jruby

I'm working on my company's intranet with cucumber 0.8.5 gherkin 2.1.5 And I'm trying to switch from using ruby 1.8.7 to jruby 1.5.1 However, whenever I try to run cucumber from jruby, I get an error: % jruby -S cucumber /usr/local/src/jruby-1.5.1/lib/ruby/site_rub/1.8/rubygems/custom_require.rb:31:in `require': no such file to lo...

How to make Cucumber step definitions load according to feature file being executed

Hi, I would like to modify cucumber so that when a given feature is being executed (say "login.feature") I want only login_steps.rb to be loaded for the web steps. Other step files should not be loaded. IMO this would be very useful to have the same steps but which differ in implementation work accordingly from the feature's name whic...