Sha256: 3e3442225cdf0170e3bc87e8a81ac5a051dc8686ffd60996e3355829303a6d5a
Contents?: true
Size: 1.11 KB
Versions: 21
Compression:
Stored size: 1.11 KB
Contents
Feature: Use * keywords and still get snippets In order to make it possible to use * instead of Given/When/Then, I should not get an exception when I have undefined steps @wip-jruby Scenario: Use some * Given a standard Cucumber project directory structure And a file named "features/f.feature" with: """ Feature: F Scenario: S * I have some cukes """ When I run cucumber features/f.feature Then STDERR should be empty And it should pass with """ Feature: F Scenario: S # features/f.feature:2 * I have some cukes # features/f.feature:3 1 scenario (1 undefined) 1 step (1 undefined) You can implement step definitions for undefined steps with these snippets: Given(/^I have some cukes$/) do pending # express the regexp above with the code you wish you had end If you want snippets in a different programming language, just make sure a file with the appropriate file extension exists where cucumber looks for step definitions. """
Version data entries
21 entries across 21 versions & 1 rubygems