It’s a pity that the difference between default (s...
# mockk
m
It’s a pity that the difference between default (strict) and relaxed mocks is not properly explained in the docs on the main page. Their code examples look almost the same to me and fail to highlight the differences. One has to reach the “MockK features” article linked to get a proper explanation.
👍 1
m
i tend to agree, that part of the docs could use some love 🙂 Do you have any suggestions (or maybe even a pr 😊 ) on how it could be improved?
😁 1
e
it should at least somewhat familiar to users coming from other mocking libraries (e.g.
Mockito.RETURNS_DEEP_STUBS
, cascading in JMockIt, niceMock() in EasyMock) but there isn't really a uniform name for them :-/
m
You’re right Mattia, I will try to improve that section with a PR as soon as I find time. Let’s see if it comes out more understandable 🤞
❤️ 1