1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
Feature: https://rspec.lighthouseapp.com/projects/16211/tickets/475
Scenario: error on pystring in scenario outline with pretty formatter
Given a standard Cucumber project directory structure
And a file named "features/f.feature" with:
"""
Feature: F
Scenario Outline: S
Given a multiline string:
\"\"\"
hello <who>
\"\"\"
Examples:
| who |
| aslak |
| david |
"""
And a file named "features/step_definitions/steps.rb" with:
"""
Given /a multiline string:/ do |s| s.should =~ /hello (\w+)/
end
"""
When I run cucumber features/f.feature
Then STDERR should be empty
And it should pass with
"""
Feature: F
Scenario Outline: S # features/f.feature:2
Given a multiline string: # features/step_definitions/steps.rb:1
\"\"\"
hello <who>
\"\"\"
Examples:
| who |
| aslak |
| david |
2 scenarios (2 passed)
2 steps (2 passed)
"""
|