forked from cucumber/cucumber-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3424dda
commit 555530c
Showing
3 changed files
with
30 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
spec/cucumber/treetop_parser/test_dos.feature -crlf |
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,24 @@ | ||
Feature: Search | ||
In order to learn cucumber | ||
As an engineer | ||
I want to run some simple tests | ||
|
||
Scenario: 1) Reverse a String | ||
Given a string "abc" | ||
When the string is reversed | ||
Then the string should be "cba" | ||
|
||
|input |output| | ||
|a |a | | ||
|ab |ba | | ||
|
||
Scenario: 2) Upcase a String | ||
Given a string "abc" | ||
When the string is upcased | ||
Then the string should be "ABC" | ||
|
||
Scenario: 3) Combining 2 Methods | ||
Given a string "abc" | ||
When the string is upcased | ||
And the string is reversed | ||
Then the string should be "CBA" |