-
-
Save kimberv/f401f2591e0ea8e7f36b10020405ccf0 to your computer and use it in GitHub Desktop.
test run of the full original scenario
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
Feature: Testing step params | |
Scenario: an params are not always parsed as expected # features/test.feature:3 | |
Given The child received a "doll" # FeatureContext::theChildReceivedAGift() | |
│ array(2) { | |
│ [0]=> | |
│ string(4) "doll" | |
│ [1]=> | |
│ NULL | |
│ } | |
│ | |
And The child received a "cat" "yesterday" # FeatureContext::theChildReceivedAGift() | |
│ array(2) { | |
│ [0]=> | |
│ string(3) "cat" | |
│ [1]=> | |
│ string(9) "yesterday" | |
│ } | |
│ | |
And The child received a "race car" "2 days ago" # FeatureContext::theChildReceivedAGift() | |
│ array(2) { | |
│ [0]=> | |
│ string(8) "race car" | |
│ [1]=> | |
│ string(10) "2 days ago" | |
│ } | |
│ | |
And The child received a "bag of gold" # FeatureContext::theChildReceivedAGift() | |
│ array(2) { | |
│ [0]=> | |
│ string(11) "bag of gold" | |
│ [1]=> | |
│ NULL | |
│ } | |
│ | |
And The child received a "doll house" | |
Ambiguous match of "The child received a "doll house"": | |
to `The child received a :arg1` from FeatureContext::theChildReceivedAGift() | |
to `The child received a :arg1 :arg2` from FeatureContext::theChildReceivedAGift() | |
--- Failed scenarios: | |
features/test.feature:3 | |
1 scenario (1 failed) | |
5 steps (4 passed, 1 failed) | |
0m0.52s (13.33Mb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment