Hey Guys, In my current application I am using mockito for mocking, currently I want to switch to mockk, so right now I have a lot of code which look like
is there a way to write wrapper method which will use mockk verify, so I I will not change all 8900 calls in my project ?
9️⃣ 2
🙂 1
🤔 1
8️⃣ 2
0️⃣ 2
⭕ 2
m
Marcin Bak
10/29/2019, 3:43 PM
I was thinking about this in my project but I decided not to do that as it’s not worth the time. For new tests I use mockk and if I modify existing tests I replace mockito with mockk with help of regexp text replace.
v
vapoyan
10/29/2019, 4:10 PM
@Marcin Bak Thanks
r
rkeazor
10/30/2019, 12:43 AM
No not really , you will have to do a complete refactor. Are you guys using it in production
v
vapoyan
10/30/2019, 7:16 AM
yes
r
rkeazor
10/30/2019, 10:08 AM
Hw is it in production? Have u ran into any issues thus far.we are planning to do the same