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 helper function to mock modules #53

Closed
eproxus opened this issue Jan 12, 2012 · 0 comments
Closed

Add helper function to mock modules #53

eproxus opened this issue Jan 12, 2012 · 0 comments

Comments

@eproxus
Copy link
Owner

eproxus commented Jan 12, 2012

Implement a helper function which does the call to meck itself. Make all generated mock functions use that helper function.

This will have several benefits:

  • Possible to implement clauses from the original module in the mock module (they all will use the helper function).
  • Insert line number and file information from original module into the mock (for exception injection)
@eproxus eproxus closed this as completed Oct 22, 2012
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

1 participant