Skip to content

Towards v2 #96

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

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Towards v2 #96

wants to merge 24 commits into from

Conversation

kaste
Copy link
Owner

@kaste kaste commented Jan 31, 2025

No description provided.

kaste added 23 commits February 3, 2025 11:03
Esp. do not set `times=1` in the `verify` signature but set the default
(in this case `Times(1)`) as a clause in the function body.

This is in preparation for a different default for `expect`.
Closes #55

This is a breaking change.

Introduces `MOCKITO_CONTEXT_MANAGERS_CHECK_USAGE` environment variable.
Set it to `"0"` to turn off the usage check.  Note that any set up
(explicit) expectation will still be checked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant