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 multiplatfompatrickdelconte
01/19/2020, 12:12 PMpatrickdelconte
01/19/2020, 12:16 PMpatrickdelconte
01/19/2020, 12:24 PMimplementation(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.Shan
01/19/2020, 11:06 PM