This message was deleted.
# community-support
s
This message was deleted.
v
I guess that's a precaution that you do not do
useJUnit()
followed by
useSpock()
or similar. Which you currently can call but the effect will be unexpected. Fell into that exact trap a week ago.
s
Hmm, I have
useJUnitPlatform()
for all
Test
tasks (see https://github.com/oss-review-toolkit/ort/blob/f6356723dbfc0d8bd9f44d7b4088373adfdd571d/build.gradle.kts#L318), so shouldn't that also apply to the
funTest
tasks created via registering the test suite?
Looks like I'm basically running into https://stackoverflow.com/a/70039080/1127485, except that I'm not using a test's
options
... (knowingly)
Ah, it's actually https://github.com/gradle/gradle/issues/23544. Simply dropping
useJUnitPlatform()
fixes the issue 👀
👌 1