Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8610,6 +8610,12 @@ documentation] for more details. You also need to
{junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test
instance lifecycle to "per-class"].

For mocking Kotlin classes, using 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]]
Expand Down