examples/demo/features/basic.feature in macros4cuke-0.3.10 vs examples/demo/features/basic.feature in macros4cuke-0.3.11

- old
+ new

@@ -3,10 +3,24 @@ Feature: Show -visually- the several ways to use macros As a Cuke user So that I enjoy writing scenario. +Scenario: Definition of a silly macro-step without argument + Given I define the step "* I [bark three times]" to mean: + """ + When I type "woof!" + And I type "Woof!" + And I type "WOOF!" + """ + +Scenario: Let's bark + When I [bark three times] + # You should see woof! three times... + + + Scenario: Definition of a simple macro-step with two arguments Given I define the step "* I [travel from <origin> to <destination>]" to mean: """ When I leave '<origin>' And I arrive in <destination> @@ -50,5 +64,6 @@ # I arrive in London # I leave 'London' # I arrive in Paris + # End of file \ No newline at end of file