-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support test execution order for JUnit 5 #161
Comments
Have you consulted the README file about the required configuration? If yes, please provide a sample project reproducing the problem (or add/modify the existing JUnit 5 functional test to detect that). |
@anatoliy-balakirev I've just realized that your are not asking about JUnit 5 tests in general, but about the execution order 🤦♂️ I haven't seen that feature in PIT itself, therefore I propose you to create a ticket for PIT core directly. |
Hi @szpak . Sorry for the late reply. Couldn't find time to set up a sample project. Ordered Junit 4 tests are already supported by the pitest plugin. Problem is only with Junit 5 ordered tests, which were introduced recently. Here is a sample repo: https://github.com/anatoliy-balakirev/pitest_ordered_tests
If you switch to junit4 branch there (or just remove
|
Do you want to reopen this task or rather create a new one? |
Thanks for the sample project @anatoliy-balakirev! I haven't found any information about |
Just to be on the same page here:
|
Actually, I just realized that it might be better to create an issue for the pitest-junit5-plugin (which I thought I actually did). Will open a new one there. This one might be closed, I think. |
Test execution order was added to Junit 5 some time ago:
https://junit.org/junit5/docs/current/user-guide/#writing-tests-test-execution-order
However, currently it looks like PIT is just ignoring them and executes tests in some not clear order.
The text was updated successfully, but these errors were encountered: