Jurriaan Mous
06/20/2019, 9:06 AMlouiscad
06/20/2019, 11:47 AMJurriaan Mous
06/20/2019, 11:48 AMkotlin.macosX64 {
binaries {
test("integration") {
/* configuration if needed */
}
}
}
louiscad
06/20/2019, 11:48 AMJurriaan Mous
06/20/2019, 12:05 PMsnrostov
06/21/2019, 5:58 AMbuild/reports/tests
for test results, or add this lines to check that tests are actually running:
import org.gradle.api.tasks.testing.logging.*
...
js {
nodejs {
testTask {
testLogging {
events = [TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.STARTED]
}
}
}
}
And same for all other test js and native test tasks.
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.logging.TestLogging.htmlJurriaan Mous
06/21/2019, 6:45 AMmacosX64("macos") {
testTask {
testLogging {
events = [TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.STARTED]
}
}
}
snrostov
06/21/2019, 7:02 AMmacosX64 {
tasks.getByName(targetName + "Test").testLogging {
events "FAILED", "PASSED", "SKIPPED", "STARTED"
}
}
(and just turns out that events "FAILED", "PASSED", "SKIPPED", "STARTED"
should work for js too)Jurriaan Mous
06/21/2019, 7:49 AM