patrickdelconte
01/19/2020, 12:09 PMNo tests found for given includes: [AmountTest.bla](filter.includeTestsMatching)In a normal jvm project this is fixed by adding
test { userJUnitPlatform() }
to the build script. However I am having a hard time figuring out how to do it in multiplatfomimplementation(kotlin("test-junit"))
also works. So it is just down to junit5 and the useJUnitPlatform callShan
01/19/2020, 11:05 PMtasks {
withType<Test> {
useJunitPlatform()
}
}
Does that work for you? iirc useJunitPlatform()
tells the Test task to use Junit5 by default.