-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Release JUnit 4.13 #1496
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
Comments
@junit-team/junit-committers any thoughts on a 4.13 release? I have unfortunately been very busy with my day job so I can't drive a 4.13 release, but I can certainly help. I've associated some open issues with Milestone 4.13 as a starting point, but it appears that milestones cannot have comment threads, so I figured we can discuss scheduling and which features should be included here |
One thing I would like to do is aligning |
The last attempt to remove one of those was #1396 |
I can see both sides of the debate about merging While we are at it, it would be great to port |
any progress on 4.13 release ? |
@zjffdu yes. See https://github.com/junit-team/junit4/pulse/monthly for recent work and https://github.com/junit-team/junit4/milestone/3 for the proposed remaining work. |
@kcooney |
I (my organization, really) would really like to use the work that was done for Thoughts? |
We have built and use 4.13 as it is, with all its changes, for a while now, because we needed to leverage a bugfix. Haven't seen any issues so far. |
@cljohnso publishing your own version of JUnit in Maven could be problematic for some of your users because they will likely depend on an official version of JUnit, and having both dependencies would result in duplicate classes on the classpath, which leads to unpredictable behavior. Unfortunately, JUnit is maintained by volunteers (many of whom work on JUnit 5) so relesses have taken longer than anticipated. One way to help us get ready would be to fix and review the release notes. Many pull requests were not documented there (see these bugs). The blocking bugs for 4.13 are here. |
Looks like all issues assigned to 4.13 have been resolved. @junit-team/junit-committers Is there anything else that need to be addressed before releasing 4.13? |
@marcphilipp These closed pull requests might not be documented in the release notes: https://github.com/junit-team/junit4/issues?utf8=✓&q=label%3A"needs+release+notes+update"+ |
Hello all, I was wondering if anyone had a timeline for this release. There are some features that I was hoping to incorporate, and was wondering whether or not we should should table it. Thanks for all your work! |
@johnterrill I don't think we were planning on adding any more new features to 4.13 (just bug fixes) If there is something you want to add, please feel free to add a feature request. That being said, almost all feature development for JUnit is happening in the junit5 repository. |
@kcooney If |
It's not onlt bug fixes, there's also a few new features, e.g. ordering. Thus, I think 4.13 make sense. |
There are still 5 PRs missing in the release notes. I take care of them the day after tomorrow when I'm back in Germany. AFAIK this is all that is left. |
@marcphilipp I think we are ready for JUnit 4.13. I completed the release notes. Having #1568 released with JUnit 4.13 would be nice (need a review from one of the maintainers) but it is not necessary. |
Any update on 4.13 release? I am very excited to see the new release happens. :) |
@robinyqiu |
I believe we still plan to release 4.13 (because of the sheer number of improvements and fixes that have been merged). |
Sorry, submitted that last comment before I finished my thought. Apologies that this is taking awhile. The original JUnit maintainers are either busy supporting JUnit 5 or have taken a step back from working on JUnit. For those reasons I think it's likely that 4.13 will be the last release if the 4.x code line. |
If you get it done by Wednesday night, I might be able to include it in Spring Framework 5.2 GA, thereby allowing me to revert this commit spring-projects/spring-framework@665e8aa. But... no pressure. Officially stating that Spring Framework 5.2 supports JUnit 4.13 is only nice-to-have. JUnit 4.13 will still work just fine with Spring 5.2 once JUnit 4.13 is released. 😉 |
Hi @sbrannen, I started but I don't get it done tonight. I'm currently reading all the comments and try to understand all the details. |
@stefanbirkner, no worries! Like I said, that would have been "nice to have", but there's certainly no requirement for it. JUnit 4.13 still potentially has time to get picked up officially by Spring Boot 2.2. 😉 |
any thoughts about 4.13.0 GA? |
Without some resolution for #1609, JUnit 4.13 risks to be less relevant than it could be. Users of JUnit 4.12 are waiting for bugfixes and possibly some backports from JUnit 5, not for deprecation of the code that is not broken. |
are there any blockers for JUnit 4.13 GA? |
I don't see any. I'll publish a 4.13-rc-1 to get some more feedback on the latest changes. |
JUnit 4.13-rc-1 is now available on Maven Central for testing! Please let us know if you run into any issues. |
Tested 4.13 |
I tested JUnit 4.13-rc1 and I didn't encounter any issues. |
I tested JUnit 4.13-rc-1 with Stash Pull Request Builder plugin for Jenkins. Deprecations were triggered for files using In many cases, the tests were checking the exception type, the message and the cause. I was able to fit all checks into one expression to avoid having a temporary variable. I'm not getting any warnings or deprecations about the new code with SpotBugs, sb-contrib and find-sec-bugs. The only small imperfection is that the coverage for |
what is the status of JUnit 4.13? |
It's been three weeks now and only one issue has been reported: #1636 @kcooney @stefanbirkner Could you please take a look? I think we can close the above issue. |
@marcphilipp sorry for the long delay. I haven't had much time to work on JUnit for over a year. I commented on that bug. I don't see how we can fix it. I did have one feature request for 4.13. See #1637 |
Hi, what is the status of JUnit 4.13? |
#1637 was resolved and I'll release another RC. |
JUnit 4.13-rc-2 is now available on Maven Central for testing! Please let us know if you run into any issues. |
I tested JUnit 4.13-rc2 and I didn't encounter any issues. LGTM |
Likewise, JUnit 4.13-rc-2 is working correctly for me. I'm using the new exception checks. |
are there any blockers for JUnit 4.13 GA? |
any update? |
are there any blockers for JUnit 4.13 GA? |
Sorry for the late reply; things have been busy these last few weeks.
I haven't had time to integrate the latest JUnit changes into our code
repository. I did look at the tests on our side that cover the behavior of
randomization when classes use FixMethodOrder, and they look almost exactly
the same as the tests I had it my pull. I don't see a reason block a JUnit
release on doing more verification on that fix.
|
q: are there any blockers for JUnit 4.13 GA? |
JUnit 4.13 is released! 🎊 |
This issue tracks the work needed to release JUnit 4.13
The text was updated successfully, but these errors were encountered: