Skip to content

Instantly share code, notes, and snippets.

@jbpros
Created August 20, 2012 20:45
Show Gist options
  • Select an option

  • Save jbpros/3407735 to your computer and use it in GitHub Desktop.

Select an option

Save jbpros/3407735 to your computer and use it in GitHub Desktop.
Feature: relish emphasis on step placeholders
Plain old scenario steps can't contain "placeholders". Strings matching the placeholder syntax applicable to scenario outlines steps should not be recognised in "normal steps".
@passing
Scenario: scenario outline step placeholder
Given the following feature fragment:
"""
Scenario Outline:
Given <blah>
"""
When I publish the fragment to Relish
Then I see "<blah>" converted to "blah", italicized
@failing
Scenario: don't look for placeholders in plain scenarios
Given the following feature fragment:
"""
Scenario:
Given <blah>
"""
When I publish the fragment to Relish
Then I see "<blah>" untouched, not converted nor italicized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment