Doo
08/07/2023, 12:46 AM@RobolectoricTest
.
@RobolectricTest
class ChannelFragmentKotest : ExpectSpec({
But, I cannot solve below error… 😞 Anyone can help me?!
No instrumentation registered! Must run under a registering instrumentation.
java.lang.IllegalStateException: No instrumentation registered! Must run under a registering instrumentation.
sam
08/07/2023, 12:49 AMDoo
08/07/2023, 12:57 AMoutside of junit
.
AFAIK, ExpectSpec
is also worked in junit5
.
In this doc, https://kotest.io/docs/5.2/extensions/robolectric.html
ShouldSpec
is supported by Robolectric
. Is the doc wrong?!LeoColman
08/07/2023, 3:32 AMLeoColman
08/07/2023, 3:32 AMLeoColman
08/07/2023, 3:33 AMLeoColman
08/07/2023, 3:34 AMI didn’t understand the meaning ofOutside of JUnit means Kotest. Kotest is not JUnit eventhough we keep some integration with JUnit 5 and JUnit 4 Robolectric is very hardcoded for JUnit, which means it's very hard to integrate with Kotest.outside of junit
Doo
08/07/2023, 4:17 AM