helpermethod
12/01/2023, 7:56 AMTestWatcher
@ExtendWith(TestResultNotifier::class)
class MusicTeaserTests {
I have no idea how to migrate that to Kotest. There seems to be a JUnitExtensionAdapter
class which should provide such support, but how do I use this?helpermethod
12/01/2023, 8:55 AMextension(JUnitExtensionAdapter(TestResultNotifier()))
does the trick.helpermethod
12/01/2023, 8:56 AMtestImplementation("io.kotest:kotest-extensions-junit5")
I'll see if I can add this to the kotest docs, as it took quite some time to figure this out.sam
12/01/2023, 5:26 PM