From 4e2b51bedb96866333fce82fd6f67e98e4fcc35b Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Wed, 17 Jul 2019 16:37:27 +0200 Subject: [PATCH] Improve Kotlin integration testing documentation Closes gh-22875 --- src/docs/asciidoc/languages/kotlin.adoc | 3 +++ src/docs/asciidoc/testing.adoc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/docs/asciidoc/languages/kotlin.adoc b/src/docs/asciidoc/languages/kotlin.adoc index 7e46c0e1f2..7d514c9208 100644 --- a/src/docs/asciidoc/languages/kotlin.adoc +++ b/src/docs/asciidoc/languages/kotlin.adoc @@ -794,6 +794,9 @@ This section addresses testing with the combination of Kotlin and Spring Framewo The recommended testing framework is https://junit.org/junit5/[JUnit 5], as well as https://mockk.io/[Mockk] for mocking. +NOTE: If you are using Spring Boot, see +https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-kotlin-testing[this related documentation]. + ==== Constructor injection As described in the <>, diff --git a/src/docs/asciidoc/testing.adoc b/src/docs/asciidoc/testing.adoc index d7970a419e..2d1098d220 100644 --- a/src/docs/asciidoc/testing.adoc +++ b/src/docs/asciidoc/testing.adoc @@ -6101,3 +6101,5 @@ See the following resources for more information about testing: Maven) that is targeted at database-driven projects and, among other things, puts your database into a known state between test runs. * https://sourceforge.net/projects/grinder/[The Grinder]: Java load testing framework. +* https://github.com/Ninja-Squad/springmockk[SpringMockK]: Support for Spring Boot + integration tests written in Kotlin using https://mockk.io/[MockK] instead of Mockito.