features/demo01.feature in macros4cuke-0.0.02 vs features/demo01.feature in macros4cuke-0.1.00

- old
+ new

@@ -2,17 +2,15 @@ Feature: Show the use of a basic macro As a Cuke user So that I enjoy writing scenario. -# The background section is THE good place to define your macros. -# Since the steps from this section are pre-pended to the steps of every scenario (outline), -# the macros will be available to every scenario in the feature file. -Background: + +Scenario: Definition of a simple macro-step # The next step creates a macro(-step) - # The syntax of the new macro-step is specified between the < ... > delimiters. + # The syntax of the new macro-step is specified between double quotes. # The steps to execute when the macro is used/invoked are listed in the multiline triple quotes arguments. - Given I define the step <When I [log in]> to mean: + Given I define the step "When I [log in]" to mean: """ Given I landed in the homepage When I click "Sign in" And I fill in "Username" with "johndoe" And I fill in "Password" with "unguessable" \ No newline at end of file