MockK API
Toggle table of contents
1.14.8-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MockK API
mockk
/
io.mockk.junit5
/
MockKExtension
/
KeepMocks
Keep
Mocks
jvm
@
Inherited
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
,
AnnotationTarget.FUNCTION
]
)
annotation class
KeepMocks
(
source
)
Prevent calling
unmockkAll
after each test execution