<https://github.com/thewhitespace/Spoke>
# kotlintest
d
sorry I meant spock
s
Ah ok
m
Kotlin test will do a good job of replacing Spock Framework. Groovy does provide some niceties that aren't in kotlin, and you'll have to use Mockk or Mockito to replace the mocking aspects of Spock. Kotlin test is the runner, test definition and assertions. There are several styles, including very BDD like style.
d
nice, yeah I am fine with using separate mocking library (don't think anything can replace me Mockk <3)
s
mockk is awesome, kotlintest doesn’t try to be a mocking framework
👌 1
But assertions / runner are closely related
m
Agreed. All tests require a structure, a runner, and assertions. Mocking isn't always required, so it makes sense to separate it out. And given there are 2 great libraries available, I'm glad the Kotlintest team is not focusing on Mocking. Groovy just makes mocking easy, so they decided to have it part of Spock.
👍🏻 1