Improve Kotlin integration testing documentation

Closes gh-22875
This commit is contained in:
Sebastien Deleuze 2019-07-17 16:37:27 +02:00
parent e7ecb83449
commit 4e2b51bedb
2 changed files with 5 additions and 0 deletions

View File

@ -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 The recommended testing framework is https://junit.org/junit5/[JUnit 5], as well as
https://mockk.io/[Mockk] for mocking. 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 ==== Constructor injection
As described in the <<testing#testcontext-junit-jupiter-di#spring-web-reactive, dedicated section>>, As described in the <<testing#testcontext-junit-jupiter-di#spring-web-reactive, dedicated section>>,

View File

@ -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 Maven) that is targeted at database-driven projects and, among other things, puts your
database into a known state between test runs. database into a known state between test runs.
* https://sourceforge.net/projects/grinder/[The Grinder]: Java load testing framework. * 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.