https://kotlinlang.org logo
#mockk
Title
# mockk
m

MrNiamh

11/15/2018, 11:23 AM
How have people found using Mockk compared to mockito-kotlin?
g

gildor

11/15/2018, 11:24 AM
I really like it. And think that DSL is much better
also less cluttering with mockito java API (which shouldn’t be used, but pollutes code complition)
Also mockk has support of suspend functions (which I use) and mocking of objects, top level function (which I don’t use)
m

MrNiamh

11/15/2018, 11:49 AM
Sounds great, I'll have a play with it then. Cheers
3 Views