Skip to content

Commit 4e2b51b

Browse files
committed
Improve Kotlin integration testing documentation
Closes gh-22875
1 parent e7ecb83 commit 4e2b51b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/docs/asciidoc/languages/kotlin.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,9 @@ This section addresses testing with the combination of Kotlin and Spring Framewo
794794
The recommended testing framework is https://junit.org/junit5/[JUnit 5], as well as
795795
https://mockk.io/[Mockk] for mocking.
796796

797+
NOTE: If you are using Spring Boot, see
798+
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-kotlin-testing[this related documentation].
799+
797800
==== Constructor injection
798801

799802
As described in the <<testing#testcontext-junit-jupiter-di#spring-web-reactive, dedicated section>>,

src/docs/asciidoc/testing.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6101,3 +6101,5 @@ See the following resources for more information about testing:
61016101
Maven) that is targeted at database-driven projects and, among other things, puts your
61026102
database into a known state between test runs.
61036103
* https://sourceforge.net/projects/grinder/[The Grinder]: Java load testing framework.
6104+
* https://github.com/Ninja-Squad/springmockk[SpringMockK]: Support for Spring Boot
6105+
integration tests written in Kotlin using https://mockk.io/[MockK] instead of Mockito.

0 commit comments

Comments
 (0)