-
-
Notifications
You must be signed in to change notification settings - Fork 398
Migrate tests to JUnit5 #1324
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 #1324
Conversation
* Migrate annotations and imports * Migrate assertions * Remove public visibility for test classes and methods * Minor code cleanup
MarkEWaite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deeper review will be needed in the future, but wanted to share one comment from the start of the review.
Include a wider range of small repositories in order to be more likely to detect shifts in the turning point where command line git performs better than JGit. Current data shows that JGit is faster than command line git for repositories up to 8 MB. Command line git is dramatically faster than JGit for the 450 MB repository that is the largest repository used in the test.
Unreliable due to GitHub message
Spotless
MarkEWaite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for this great effort. I'll review further when I return from vacation in a week
src/test/java/org/jenkinsci/plugins/gitclient/verifier/KnownHostsTestUtil.java
Show resolved
Hide resolved
src/test/java/org/jenkinsci/plugins/gitclient/verifier/KnownHostsTestUtil.java
Show resolved
Hide resolved
|
I've resolved the conflict and pushed the resolution to my fork of the repository at: |
|
Thanks very much! I resolved the conflict and squash merged it as:
|
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 reviewed.
If there are any questions, please do not hesitate to ping me.
Submitter checklist