-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New strict mocking API - MockitoSession #857
Comments
Here's my opinion :
|
@bric3, great feedback!!! I summarized my POV in (#865 (comment)).
All options are using variable, I removed it for clarity (but it became less clear :) I will update the ticket.
Yes. Both approaches have pros and cons. Let's go ahead with Mockito.mockitoSession() at this time. |
- Changed the public API to MockitoSession per our discussion at #857. - MockitoSession offers meaningful name and semantics as opposed to somewhat cryptic MockitoMocking interface - New builder style interface for constructing session instances Pending - lots of javadoc (TODOs in code) - coverage for builder edge cases (e.g. when someone does not provide strictness or init mocks, etc.)
ok
That's fine by me :) |
- Changed the public API to MockitoSession per our discussion at #857. - MockitoSession offers meaningful name and semantics as opposed to somewhat cryptic MockitoMocking interface - New builder style interface for constructing session instances Pending - lots of javadoc (TODOs in code) - coverage for builder edge cases (e.g. when someone does not provide strictness or init mocks, etc.)
- Changed the public API to MockitoSession per our discussion at #857. - MockitoSession offers meaningful name and semantics as opposed to somewhat cryptic MockitoMocking interface - New builder style interface for constructing session instances Pending - lots of javadoc (TODOs in code) - coverage for builder edge cases (e.g. when someone does not provide strictness or init mocks, etc.)
- Changed the public API to MockitoSession per our discussion at #857. - MockitoSession offers meaningful name and semantics as opposed to somewhat cryptic MockitoMocking interface - New builder style interface for constructing session instances Pending - lots of javadoc (TODOs in code) - coverage for builder edge cases (e.g. when someone does not provide strictness or init mocks, etc.)
Closed via #865 |
Background
Initial design
Alternative new public API methods
(no longer considered since the feature is merged)
Discussion
We would love to hear your feedback!
The text was updated successfully, but these errors were encountered: