New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tags: --tags option not properly picking up tests (all scenarios skipped) when using logical "or" #763
Comments
Which version of SEE ALSO: |
--tags
param not properly picking up tests (all scenarios skipped) when using or
I see, I'm on I guess I was just looking at the wrong docs, so I'm closing this. |
@jenisys it's been a long time since a stable version of |
Also, how can I install behave 1.2.7 any PyPi indexUrl? |
You may take a look at the discussion in #855 and #1059. How to install any code point from Git using pip is also mentioned in the latter (and in the docs). |
I have the following (very) simple feature file:
I'm able to run the scenarios on an individual basis by running:
$ behave --tags="fizz"
$ behave --tags="buzz"
Both of these produce the expected output: 1 scenario executed, 1 skipped.
However, consider the following:
$ behave --tags="fizz or buzz"
Expected behavior: 2 scenarios executed, 0 skipped.
Actual behavior: 0 scenarios executed, 2 skipped.
Basically, trying to use "or" to select multiple tags to execute on just results in every scenario being skipped.
REFERENCE: https://behave.readthedocs.io/en/latest/behave.html#tag-expression
The text was updated successfully, but these errors were encountered: