Join Slack
Powered by
Hi, new to kotlin and mockk here, coming from java...
# mockk
t
thanksforallthefish
06/22/2018, 2:37 PM
Hi, new to kotlin and mockk here, coming from java and mockito! Spring has a very nice annotation
@MockBean
to turn a bean into a mock for mockito. Any such thing for mockk? So far I used a
@Configuration
overriding the bean with a
mockk()
one, but there may be a better solution
Open in Slack
Previous
Next