JDK-8296284 : Update CONTRIBUTING guidelines to state that JUnit 5 is used for tests
Type:Bug
Component:javafx
Sub-Component:other
Affected Version:jfx20
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2022-11-03
Updated:2025-06-26
Resolved:2025-06-21
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
A pull request was submitted for review.
Branch: master
URL: https://git.openjdk.org/jfx/pull/1828
Date: 2025-06-14 11:37:30 +0000
14-06-2025
JDK-8340464 is tracking the last remaining conversion to JUnit 5, and is targeted for this test sprint.
So for this bug, we should modify the CONTRIBUTING guidelines to state that JUnit 5 should be used for all tests.
21-03-2025
I think we should do this for the upcoming test sprint, especially since we plan to start converting our existing tests to JUnit5.
Additionally, the advice should be to use JUnit 5 for all new tests, unless you are extending a base class that still uses JUnit 4.