forked from gabrielfalcao/lettuce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow exclusionary tags to omit scenarios
If a user passes in a tag for which no scenario should run, e.g. --tag=-A then the expectation is that no scenario with that tag would run. However, the previous behavior was to a scenario with an inclusionary tag regardless of the exclusionary tag. For example, if a scenario's tags were: ['A', 'B] and the user specified: --tag=-A --tag=B the scenario would run. This change changes the behavior of scenario filtering: 1) If an exclusionary tag matches the scenario is rejected. 2) If an inclusionary tag matches the scenario is accepted. 3) If a tag with ~ matches then it is accepted with some probability gabrielfalcao#498
- Loading branch information
Showing
2 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
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
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