Explicit test method order #2857
Unanswered
aslakhellesoy
asked this question in
Q&A
Replies: 1 comment 3 replies
-
That's correct. In JUnit Jupiter, you cannot have tests from different containers/classes run interspersed. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm using a test case prioritization tool that can order tests in decreasing order of failure probability. For example:
(In practice the list would be much longer).
Is there a way to tell JUnit 5 to run tests methods in such an order? I.e. run some tests from class Y, some from X, then some others from Y etc. I get the impression that test method ordering is only possible within a single class, not between multiple classes.
Beta Was this translation helpful? Give feedback.
All reactions