Replies: 2 comments 1 reply
-
Ah, that'd be cool! I used Spock in the past and loved that DSL :) Would you be able to put together a PR to add this feature? 🙏 |
Beta Was this translation helpful? Give feedback.
1 reply
-
@Raibaz i'd appreciate if you could confirm this and give me feedback 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently, in MockK, we need to separate
verify
blocks to verify call counts of mocked methods.for example:
this is a bit troublesome and not readable for me (and maybe for us?).
i'd like to propose to introduce new DSL to verify them easily like below:
this DSL can be implemented like below
such DSL is introduced into other famous JVM mocking libraries e.g., Mockito-Kotlin and Spock
thank you for reading!
Beta Was this translation helpful? Give feedback.
All reactions