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

Feature request: Ability to create strict mocks #104

Open
DamienSirkis opened this issue Apr 23, 2015 · 2 comments
Open

Feature request: Ability to create strict mocks #104

DamienSirkis opened this issue Apr 23, 2015 · 2 comments

Comments

@DamienSirkis
Copy link

Currently all mocks created by OCMockito are 'nice' mocks and always return something even on methods that have not been stubbed.

Would be nice to have a strictMock() alternative that would instead fail/assert early if anything calls something not stubbed out.

@therealbnut
Copy link

👍

1 similar comment
@kouky
Copy link

kouky commented Sep 29, 2015

👍

@jonreid jonreid changed the title Ability to create strict mocks Feature request: Ability to create strict mocks May 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants