Hello,I followed this tutorial (<https://www.zuhai...
# kotlintest
s
Hello,I followed this tutorial (https://www.zuhaibahmad.com/android-spec-testing/) but my output looks different than from the article. Mine looks like in attached pic - prints only “then” steps. But I wanna see all steps printed out. Can you suggest me a solution, please?
l
This seems to me that you forgot a step to
useJUnitPlatform
when declaring your test task
Could you please take a look if anywhere in your build.gradle there is the
useJUnitPlatform()
line?
s
Copy code
tasks.test {
    useJUnitPlatform()
}
I already have it in build.gradle. May be it caused by a project type - I’m using it in Ktor project, not in Android
l
I usually use it for Spring, and everything is fine
Could you give me an example of a test that's showing this behavior? Are you running through JUnit or through Gradle?
s
This is a test snippet. Running via green arrow in the first row