CLOVIS
10/14/2023, 5:04 PMVampire
10/14/2023, 5:29 PMVampire
10/14/2023, 5:31 PMCLOVIS
10/14/2023, 5:42 PMWhat do you think the Kotlin plugin needs to do there?
Discover the test classes, instantiate test classes, discover the list of tests so filters can work, report execution results to Gradle so they appear in test reports and in IDEA,...
But as JUnit 5 is specifically designed to support multiple custom test engines, you should be able to achieve what you want through implenting such an engine.
To my knowledge, I can't use JUnit5 in K/JS, K/N nor K/WASM.
Vampire
10/14/2023, 5:46 PMCLOVIS
10/14/2023, 5:47 PMCLOVIS
10/14/2023, 5:48 PMVampire
10/14/2023, 5:50 PMVampire
10/14/2023, 5:50 PMVampire
10/14/2023, 5:51 PMephemient
10/14/2023, 6:00 PMephemient
10/14/2023, 6:02 PMVampire
10/14/2023, 6:04 PMCLOVIS
10/14/2023, 6:47 PMYes, the engine itself needs to be written in Java, but that does not mean that it cannot invoke other things by any means as I described aboveSo that would mean having Gradle start a custom test executor written on the JVM, that exposes a JUnit5 engine, and have that execute the actual test binaries through ProcessBuilder? 🤔
CLOVIS
10/14/2023, 6:51 PMCLOVIS
10/14/2023, 6:51 PMephemient
10/14/2023, 6:52 PMCLOVIS
10/14/2023, 6:52 PMCLOVIS
10/14/2023, 6:53 PMephemient
10/14/2023, 6:53 PMCLOVIS
10/14/2023, 6:54 PMCLOVIS
10/14/2023, 6:54 PM