-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
Test is not reported if conditionally disabled #3572
Comments
That's not currently supported - if JUnit doesn't run the test, Serenity has no way of picking it up. |
Junit does run it and it reports as disabled. What I was able to figure out, |
Yes it would. That feature of Junit is new to me, so isn't factored into the current code, but there's no reason why it shouldn't be. |
I am wondering, if |
What happened?
Conditionally disabling test (other than "Disabled" annotation) makes it completely disappear from reports.
What did you expect to happen?
Report would show it either ignored or skipped.
Serenity BDD version
4.2.8
JDK version
21
Execution environment
Mac OS
How to reproduce the bug.
Cloned junit starter and disabled one test conditionally - https://github.com/kaselis/serenity-junit-starter. Just running
./mvnw clean verify
produces a report with 4 passing tests and 0 other kinds.How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: