Skip to content

Commit

Permalink
New tests to validate tag order doesn't affect test outcome
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKeegan committed Jun 23, 2021
1 parent 13222ff commit 4f7e81e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ Scenario Outline: Test is ignored

@ignore @retry
Scenario Outline: Retry test is ignored
Then fail because this test <n> should have been skipped
Examples:
| n |
| 1 |
| 2 |

@retry @ignore
Scenario Outline: Retry test is ignored regardless of tag order
Then fail because this test <n> should have been skipped
Examples:
| n |
Expand Down
4 changes: 4 additions & 0 deletions test/UnitTests/SpecFlow/Features/RetryScenarios.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ Scenario: Test is ignored

@ignore @retry
Scenario: Retry test is ignored
Then fail because this test should have been skipped

@retry @ignore
Scenario: Retry test is ignored regardless of tag order
Then fail because this test should have been skipped

0 comments on commit 4f7e81e

Please sign in to comment.