-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Migrate tests to JUnit5 #634
Migrate tests to JUnit5 #634
Conversation
I noticed a 30 second duration increase for test execution phase: https://ci.jenkins.io/job/Plugins/job/jira-plugin/job/PR-634/5/pipeline-console/log?nodeId=51
3m3s https://ci.jenkins.io/job/Plugins/job/jira-plugin/job/master/451/pipeline-console/log?nodeId=112
2m27s Do you think it might be related to the changes in any way? |
* Use JUnit5 annotations and imports * Cleanup assertions * Remove public visibility from test classes and methods
* Use JUnit5 annotations and imports * Cleanup assertions * Remove public visibility from test classes and methods
f6b411a
to
bffdb1d
Compare
I took a closer look at it and compared the execution times of tests before and after my changes on my local machine.
In my runs, the JUnit5 tests were faster compared to JUnit4. There is little reliable data available on comparison of performance between these two frameworks but looking at the numbers I'd say they are equal. |
Great comparison, thanks a lot for spending additional time on this! |
This PR aims to migrate all tests to JUnit5. Changes include:
I am well aware that this is a quite large changeset however I hope that there is still interest in this PR and it will be reviewd.
If there are any questions, please do not hesitate to ping me.