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

Add support for deep stubbing #21

Closed
BlackHC opened this issue Sep 1, 2015 · 3 comments
Closed

Add support for deep stubbing #21

BlackHC opened this issue Sep 1, 2015 · 3 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@BlackHC
Copy link

BlackHC commented Sep 1, 2015

It would be nice to have the same that RETURNS_DEEP_STUBS in http://mockito.googlecode.com/svn/tags/1.8.3/javadoc/org/mockito/Mockito.html does.

@fibulwinter
Copy link
Contributor

We can't create mock classes on the fly right now - so deep stubbing is impossible until we figure out how to do something like mock(Class). So it's blocked by https://github.com/fibulwinter/dart-mockito/issues/20

Also the original mockito feature has this warning:

This feature should rarely be required for regular clean code! Leave it for legacy code.

Do we really need it?

@matanlurey
Copy link
Contributor

I think it's worth closing this :-/, considering it's basically deprecated in Java too.

/cc @TedSander

@TedSander
Copy link
Contributor

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants