-
Notifications
You must be signed in to change notification settings - Fork 25
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
ParallelRunner doesn't recognize assumptions #12
Comments
I had the exact same problem of unit tests not being skipped with AssumptionViolatedException. |
Hmm, I can not reproduce the bug. I can confirm, that the test is marked as green and not as skipped -- which is hard too fix, because that's how JUnit 4 behaves by default, see: https://github.com/junit-team/junit4/blob/master/src/main/java/org/junit/runner/Result.java#L140 Nonetheless, |
Ok, that's exactly what I ment. I did not try out if "hello" is printed out in this example. But I have to disagree with you about the default behaviour of JUnit 4. Tests throwing an I suppose the handling of |
Eclipse / IntelliJ IDEA improve the default behaviour of JUnit. Nonetheless, that is a feature of Eclipse / IntelliJ IDEA and the default behaviour of JUnit is to ignored any I agree, that it would be nice, if skipped tests executed using the |
Sorry, but I cannot agree with that. In a JUnit But this code does obviously not run using the |
"... does obviously not run ..." -- Really? Did you set a breakpoint in the I guess not, because the Please do a debug session and step into the methods starting from the breakpoint in the |
Well, I don't know what you are debugging, but the Thereby line 328 of ParentRunner will never execute in a |
Sorry, my fault -- I can now reproduce, that line 327 in ParentRunner.java ( Nonetheless: This is the current behavior of the Therefore I think, this issue should be reported (and fixed) in the https://github.com/junit-team/junit4 project. I don't think it is a good idea to change the handling of |
As already said, this is not a bug of the
I appreciate that you want to keep your runner interchangeable with the |
That sounds like a sensible idea to me (although I still think that behavior belongs into the Would you like to update your pull request accordingly? And if so, please update |
I've updated my pull request accordingly. |
@MichaelTamm Could you please create a Maven package for v2.3? |
JUnit Toolbox 2.3 is in the central Maven repo now. |
(cherry picked from commit 6b51b3f)
hey, it seems to me that the ParallelRunner is having some issue with assumeTrue / assumeThat
i tryed something like
The text was updated successfully, but these errors were encountered: