dave08
03/24/2020, 8:55 AMTesting started at 10:53 AM ...
> Task :cleanTest
> Task :kaptGenerateStubsKotlin UP-TO-DATE
> Task :kaptKotlin UP-TO-DATE
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :kaptGenerateStubsTestKotlin
> Task :kaptTestKotlin
w: [kapt] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: com.squareup.moshi.kotlin.codegen.JsonClassCodegenProcessor (NON_INCREMENTAL), javaslang.match.PatternsProcessor (NON_INCREMENTAL).
> Task :compileTestKotlin
> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test FAILED
~~~ Project Configuration ~~~
-> Parallelism: 1 thread
-> Test order: LexicographicSpecExecutionOrder
-> Soft assertations: False
-> Write spec failure file: False
-> Fail on ignored tests: False
-> Extensions
- io.kotlintest.extensions.SystemPropertyTagExtension
- io.kotlintest.extensions.RuntimeTagExtension
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> No tests found for given includes: [controller.SomeManagerControllerTest](filter.includeTestsMatching)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
BUILD FAILED in 4s
9 actionable tasks: 5 executed, 4 up-to-date
dmcg
03/24/2020, 9:01 AMdave08
03/24/2020, 9:02 AM@Test
doesn'dmcg
03/24/2020, 9:03 AMdave08
03/24/2020, 9:03 AMtestImplementation("io.kotlintest:kotlintest-runner-junit5:3.4.1")
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.4.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.2")
testImplementation("dev.minutest:minutest:1.11.0")
testImplementation("io.strikt:strikt-core:0.24.0")
testImplementation("io.mockk:mockk:1.9.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.3.2")
val test by tasks.getting(Test::class) {
useJUnitPlatform { }
}
dmcg
03/24/2020, 9:04 AMdave08
03/24/2020, 9:08 AMNo tests found for given includes: [controller.SomeManagerControllerTest](filter.includeTestsMatching)
@Test
...minutests()[1][1]
as the test
name...dmcg
03/24/2020, 10:04 AMdave08
03/24/2020, 10:12 AMdmcg
03/24/2020, 3:52 PMdave08
03/24/2020, 3:53 PMdmcg
03/25/2020, 9:02 AMnatpryce
03/25/2020, 9:20 AMdave08
03/25/2020, 9:23 AMnatpryce
03/25/2020, 9:25 AMuseJunitPlatform {
includeEngines("junit-jupiter", "junit-vintage", "minutest")
}
dave08
03/25/2020, 9:34 AMTestClass
|_ minutest()
|_Context
|_Test
minutest() looks a bit funny there and wastes one indenting.natpryce
03/25/2020, 9:35 AMdave08
03/25/2020, 9:45 AMfun someClassTest() = rootContext {
...
}
at the top level?natpryce
03/25/2020, 9:57 AMdave08
03/25/2020, 10:02 AMnatpryce
03/25/2020, 10:03 AMdave08
03/25/2020, 10:04 AMdmcg
03/25/2020, 12:05 PMnatpryce
03/26/2020, 4:23 PMdmcg
03/26/2020, 4:23 PMnatpryce
03/26/2020, 4:24 PMdmcg
03/26/2020, 4:25 PMnatpryce
03/26/2020, 4:28 PM@Testable
made IntelliJ treat them as runnable test methods@Testable
would work)dmcg
03/30/2020, 8:43 AM