Am I understanding correctly that today Android un...
# kotest
k
Am I understanding correctly that today Android unit tests (non instrumented tests that use Android SDK with stubs) require Junit engine and Kotest’s
AnnotationSpec
test style?
l
Partly. You don't need to use AnnotationSpec style. It's actually discouraged. It also doesn't require you to install the junit engine, Kotest is able to do that itself. You need to enable JUnitPlatform in Gradle only
k
Oh TIL, not sure why I thought only
AnnotationSpec
are supported…
l
Do you know where you read this information?
k
I probably just incorrectly correlated
AnnotationSpec
with being Junit-style and Android tests requiring Junit engine 🙂
Also got confused a bit by the official docs
Currently, only JVM tests are officially supported in Kotest
I’m guessing this is meant to say “kotest engine”? An UI tests -> instrumented tests?