Commit c1cccc88 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x'

parents 3a4a431e f87b58f5
...@@ -8686,6 +8686,12 @@ documentation] for more details. You also need to ...@@ -8686,6 +8686,12 @@ documentation] for more details. You also need to
{junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test {junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test
instance lifecycle to "per-class"]. instance lifecycle to "per-class"].
To mock Kotlin classes, https://mockk.io/[Mockk] is recommended. If you need the `Mockk`
equivalent of the Mockito specific
<<boot-features-testing-spring-boot-applications-mocking-beans,`@MockBean` and `@SpyBean`
annotations>>, you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which
provides similar `@MockkBean` and `@SpykBean` annotations.
[[boot-features-kotlin-resources]] [[boot-features-kotlin-resources]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment