-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling asterisks in feature files as And-Steps.
- Loading branch information
jbandi
committed
Jul 3, 2010
1 parent
32b94b4
commit 4b8c0c5
Showing
5 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Feature: a very simple feature | ||
|
||
Scenario: a simple scenario | ||
Given some precondition | ||
* some precondition2 | ||
When I do something | ||
* I do something2 | ||
Then something happens |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Feature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Language>en-US</Language> | ||
<Scenarios> | ||
<Scenario> | ||
<Title>a simple scenario</Title> | ||
<FilePosition line="3" column="1" /> | ||
<Steps> | ||
<ScenarioStep xsi:type="Given"> | ||
<Text>some precondition</Text> | ||
<FilePosition line="4" column="1" /> | ||
</ScenarioStep> | ||
<ScenarioStep xsi:type="And"> | ||
<Text>some precondition2</Text> | ||
<FilePosition line="5" column="1" /> | ||
</ScenarioStep> | ||
<ScenarioStep xsi:type="When"> | ||
<Text>I do something</Text> | ||
<FilePosition line="6" column="1" /> | ||
</ScenarioStep> | ||
<ScenarioStep xsi:type="And"> | ||
<Text>I do something2</Text> | ||
<FilePosition line="7" column="1" /> | ||
</ScenarioStep> | ||
<ScenarioStep xsi:type="Then"> | ||
<Text>something happens</Text> | ||
<FilePosition line="8" column="1" /> | ||
</ScenarioStep> | ||
</Steps> | ||
</Scenario> | ||
</Scenarios> | ||
<Title>a very simple feature</Title> | ||
<Description /> | ||
</Feature> |