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

automated mocks generation #93

Closed
lbartnik opened this issue Sep 17, 2013 · 4 comments
Closed

automated mocks generation #93

lbartnik opened this issue Sep 17, 2013 · 4 comments

Comments

@lbartnik
Copy link
Contributor

Did you consider adding support for automated mocks? An example from the Java world could be this: https://code.google.com/p/mockito/

@hadley
Copy link
Member

hadley commented Sep 20, 2013

It's not at all obvious to me how mocking should work for non-message-passing OO, plus I've never really found a need for them. But if you put together a proposal, I'd be happy to give feedback.

@lbartnik
Copy link
Contributor Author

lbartnik commented Oct 7, 2013

I had to change my priorities. Once I'm back to this particular problem, I'll post a follow-up.

@krlmlr
Copy link
Member

krlmlr commented Dec 2, 2013

@wch has put together an outline in a comment to r-lib/devtools#388. It's about mocking individual functions in the package to be tested, still it would be great to see this integrated in testthat.

@hadley
Copy link
Member

hadley commented Dec 4, 2013

I don't have any plans to work on this, but if you want to supply a pull request, I'd happily review.

@hadley hadley closed this as completed Dec 4, 2013
@krlmlr krlmlr mentioned this issue Aug 22, 2014
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

No branches or pull requests

3 participants