-
Couldn't load subscription status.
- Fork 168
Modernize/simplify JUnit Gradle configuration #2325
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| testing { | ||
| suites.withType(JvmTestSuite::class).configureEach { | ||
| useJUnitJupiter() |
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.
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.
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.
sorry, I'm not following what you are suggesting to do
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.
oh, do you mean replacing that with useJUnitJupiter? I just tried that and it seems like useJUnitJupiter only works for test suites...
f83207b to
33ef393
Compare
|
|
||
| testing { | ||
| suites.withType(JvmTestSuite::class).configureEach { | ||
| useJUnitJupiter("5.13.4") |
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.
intentionally one version behind to verify that Renovate picks it up after merging
No description provided.