Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e610a024e0
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (21 sloc) 0.802 kb
Feature: Snippets
In order to help speed up writing step definitions
As a feature editor
I want snippet suggestions for undefined step definitions
Scenario: Snippet for undefined step with a pystring
When I run cucumber features/undefined_multiline_args.feature:3 -s
Then the output should contain
"""
Given /^a pystring$/ do |string|
pending # express the regexp above with the code you wish you had
end
"""
Scenario: Snippet for undefined step with a step table
When I run cucumber features/undefined_multiline_args.feature:9 -s
Then the output should contain
"""
Given /^a table$/ do |table|
# table is a Cucumber::Ast::Table
pending # express the regexp above with the code you wish you had
end
"""
Jump to Line
Something went wrong with that request. Please try again.