Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Oct 1, 2025

No description provided.

@trask trask marked this pull request as ready for review October 1, 2025 23:00
@trask trask requested a review from a team as a code owner October 1, 2025 23:00
@trask trask marked this pull request as draft October 1, 2025 23:13

testing {
suites.withType(JvmTestSuite::class).configureEach {
useJUnitJupiter()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if you replaced

withType<Test>().configureEach {
  useJUnitPlatform()

with useJUnitPlatform? Doing it only for suites and leaving the rest of the test tasks as they are feels a bit weird.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, I'm not following what you are suggesting to do

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, do you mean replacing that with useJUnitJupiter? I just tried that and it seems like useJUnitJupiter only works for test suites...

@trask trask force-pushed the modernize-junit branch 2 times, most recently from f83207b to 33ef393 Compare October 10, 2025 03:47
@trask trask marked this pull request as ready for review October 10, 2025 03:49

testing {
suites.withType(JvmTestSuite::class).configureEach {
useJUnitJupiter("5.13.4")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentionally one version behind to verify that Renovate picks it up after merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants