-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Report broken when excluding tag #1784
Comments
Are you using JUnit or Cucumber tags? |
JUnit |
I don't think this is currently supported. |
You mean the negation? JBehave seems to support a "skip" keyword. Maybe I can try this: I think I got the idea from the first page that popped up when I searched for "serenity tags" Thing is, it seems to work. Meaning it correctly skips the tests with the tag. Only the report is messed up, so maybe there is just a little bug there. It would be a very interesting feature. Because all to often it is not really that I want to run a certain set of tests but I want to skip certain tests (e.g. long running, other environment...) because it would always include tests that habe not yet been tagges correctly. So you dont miss anything if you forget to tag. |
We are running serenity tests using the maven plug-in.
We are using tags to cluster our tests (http://thucydides.info/docs/serenity-staging/#_filtering_test_executing_with_tags).
Now it is possible to run tests with specific tests as well es tests without specific tests like this:
But when I am excluding a tag with the parameter "-D~MYTAG" the report is broken and shows nothing. As far as I can see the tests did run successfully and report files have been created but the index.html shows an empty report without any tests.
It looks like all test result pages are correctly generated (like f2b10e....html) but not aggregated to be included in the index.html
The text was updated successfully, but these errors were encountered: