Created
May 23, 2012 06:01
Revisions
-
barneywilliams revised this gist
May 24, 2012 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ Scenario: Regular numbers # division.feature:6 > ["begin_scenario"] # Cucumber sends this message to the Wire server to start the scenario < ["success"] # Each message sent to the Wire server is acknowledged, and may include response data as well > ["step_matches", # Cucumber sends the first step of the scenario { "name_to_match":"I have entered 3 into the calculator" } ] < ["success", # The Wire server responds with the regular expression that matches the specified step, including the extracted parameter and location of the step definition [ { "regexp":"^I have entered (\\d+) into the calculator$", @@ -16,11 +16,11 @@ Scenario: Regular numbers # division.feature:6 } ] ] > ["invoke", # Cucumber now tells the server to go ahead and execute the step { "args":["3"], "id":"1" } ] < ["success"] # The server responds with the result Given I have entered 3 into the calculator # CalculatorSteps.cpp:11 (This is the normal formatted output that appears on the console after a step is executed) -
barneywilliams revised this gist
May 23, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Scenario: Regular numbers # division.feature:6 "regexp":"^I have entered (\\d+) into the calculator$", "args":[{"val":"3","pos":15}], "id":"1", "source":"CalculatorSteps.cpp:11" } ] ] -
barneywilliams revised this gist
May 23, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,4 @@ Scenario: Regular numbers # division.feature:6 } ] < ["success"] Given I have entered 3 into the calculator # CalculatorSteps.cpp:11 -
barneywilliams created this gist
May 23, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ Scenario: Regular numbers # division.feature:6 > ["begin_scenario"] < ["success"] > ["step_matches", { "name_to_match":"I have entered 3 into the calculator" } ] < ["success", [ { "regexp":"^I have entered (\\d+) into the calculator$", "args":[{"val":"3","pos":15}], "id":"1", "source":"GTestCalculatorSteps.cpp:11" } ] ] > ["invoke", { "args":["3"], "id":"1" } ] < ["success"] Given I have entered 3 into the calculator # GTestCalculatorSteps.cpp:11