Skip to content
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

Support strictness for mock creation settings #24

Closed
picimako opened this issue May 30, 2022 · 1 comment
Closed

Support strictness for mock creation settings #24

picimako opened this issue May 30, 2022 · 1 comment
Assignees
Labels
enhancement Improvement on an existing feature
Milestone

Comments

@picimako
Copy link
Owner

picimako commented May 30, 2022

Summary

mockito/mockito#2648 and mockito/mockito#2650 introduced the strictness attribute both for MockSettings and the @Mock annotation.

Tasks

  • Add support for this attribute.
    • Update @Mock to Mockito.mock() and vice versa conversion.
    • Add inspections if feasible: org.mockito.internal.exceptions.Reporter#strictnessDoesNotAcceptNullParameter
@picimako picimako added the enhancement Improvement on an existing feature label May 30, 2022
@picimako picimako added this to the v0.5.0 milestone May 30, 2022
@picimako picimako self-assigned this Jun 15, 2022
@picimako
Copy link
Owner Author

Completed in v0.5.0

picimako added a commit that referenced this issue Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant