If you use Kotlin and MockK and want to enjoy nest...
# spring
j
If you use Kotlin and MockK and want to enjoy nested Spring Boot tests, I just released SpringMockK 3.0.0. https://github.com/Ninja-Squad/springmockk/releases/tag/3.0.0.
🎉 8
n
i definitely need to try
d
from my experience mocking / spying on beans in integration tests is a rather bad idea but if someone really needs it your lib is really neat 😉
j
To be fair, I didn’t do much. It’s just a fork of Spring Boot’s native Mockito support, translated in Kotlin and using MockK instead of Mockito. I basically report the changes made by the Spring Boot team. They’re doing the hard work.