Skip to content

Commit

Permalink
Modify report test
Browse files Browse the repository at this point in the history
- the PR proposes to expand the step with an additional skipped bool, to track weather the
step has been skipped or not, therefor the expected behaviour of the steps in the tests should
be modified
  • Loading branch information
dsax7 committed Jun 24, 2020
1 parent df43ce5 commit e6bfb7e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/feature/test_report.py
Expand Up @@ -119,6 +119,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Given",
"line_number": 6,
"name": u"a passing step",
"skipped": False,
"type": "given",
},
{
Expand All @@ -127,6 +128,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "And",
"line_number": 7,
"name": u"some other passing step",
"skipped": False,
"type": "given",
},
],
Expand Down Expand Up @@ -156,6 +158,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Given",
"line_number": 11,
"name": u"a passing step",
"skipped": False,
"type": "given",
},
{
Expand All @@ -164,6 +167,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "And",
"line_number": 12,
"name": u"a failing step",
"skipped": False,
"type": "given",
},
],
Expand Down Expand Up @@ -192,6 +196,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Given",
"line_number": 15,
"name": u"there are <start> cucumbers",
"skipped": False,
"type": "given",
},
{
Expand All @@ -200,6 +205,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "When",
"line_number": 16,
"name": u"I eat <eat> cucumbers",
"skipped": False,
"type": "when",
},
{
Expand All @@ -208,6 +214,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Then",
"line_number": 17,
"name": u"I should have <left> cucumbers",
"skipped": False,
"type": "then",
},
],
Expand Down Expand Up @@ -243,6 +250,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Given",
"line_number": 15,
"name": u"there are <start> cucumbers",
"skipped": False,
"type": "given",
},
{
Expand All @@ -251,6 +259,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "When",
"line_number": 16,
"name": u"I eat <eat> cucumbers",
"skipped": False,
"type": "when",
},
{
Expand All @@ -259,6 +268,7 @@ def should_have_left_cucumbers(start_cucumbers, start, eat, left):
"keyword": "Then",
"line_number": 17,
"name": u"I should have <left> cucumbers",
"skipped": False,
"type": "then",
},
],
Expand Down

0 comments on commit e6bfb7e

Please sign in to comment.