Created
August 20, 2012 20:45
-
-
Save jbpros/3407735 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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