ankushg
10/10/2018, 3:15 AM1.3.0-rc-146
, running jvmTest
(using kotlin-test
and kotlin-test-junit
) doesn't actually output anything to the CLI or IDE indicating how many/which tests passed/failed.
I just get messages like or > Task :pinyin-converter:jvmTest FAILED
or > Task :pinyin-converter:jvmTest
, followed by Task execution finished 'jvmTest'.
.
The task does spit out a more detailed test report in build/reports/tests/jvmTest/index.html
.
Is this lack of IDE or CLI output normal? Is there an example project that's configured to provide more detailed test results in the IDE and/or CLI?tarek
10/10/2018, 8:14 AMtasks.withType(Test) {
testLogging.events = ["passed", "skipped", "failed"]
}
or
tasks.withType(Test) {
testLogging.showStandardStreams = true
}
Liliia
10/10/2018, 9:36 AMJS Client/JVM Server
, then run Gradle check
task (which is described here: http://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#running-tests) — you should be able to see the results in the tool windowankushg
10/10/2018, 2:10 PMLiliia
10/10/2018, 3:54 PMankushg
10/10/2018, 4:07 PM