Polish "Add a link to SpringMockK in the Kotlin documentation"
Closes gh-15943
This commit is contained in:
parent
da6de215a6
commit
cd322d7b9c
|
@ -8610,11 +8610,11 @@ 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"].
|
||||||
|
|
||||||
For mocking Kotlin classes, using https://mockk.io/[Mockk] is recommended. If you need the
|
To mock Kotlin classes, https://mockk.io/[Mockk] is recommended. If you need the `Mockk`
|
||||||
Mockk equivalent of the Mockito specific
|
equivalent of the Mockito specific
|
||||||
<<boot-features-testing-spring-boot-applications-mocking-beans,`@MockBean` and `@SpyBean` annotations>>,
|
<<boot-features-testing-spring-boot-applications-mocking-beans,`@MockBean` and `@SpyBean`
|
||||||
you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which provides similar `@MockkBean`
|
annotations>>, you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which
|
||||||
and `@SpykBean` annotations.
|
provides similar `@MockkBean` and `@SpykBean` annotations.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue