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

Outbox? #26

Open
jarcoal opened this issue Jul 4, 2014 · 3 comments
Open

Outbox? #26

jarcoal opened this issue Jul 4, 2014 · 3 comments

Comments

@jarcoal
Copy link

jarcoal commented Jul 4, 2014

It would be pretty handy to have an outbox where all requests that received a mock response would be stored for reference later by a test, similar to Django's Email Outbox.

Thoughts?

@patrys
Copy link
Owner

patrys commented Jul 4, 2014

You can easily implement that in your project with a catch-all mock that does not return a response.

@jarcoal
Copy link
Author

jarcoal commented Jul 4, 2014

Yeah I did that for myself, but it seems like something that would be really nice to have built-in. I can take a crack at it and submit a PR if you're interested in having it in the core.

@patrys
Copy link
Owner

patrys commented Jul 4, 2014

I would gladly accept a handler that one hase to explicitly include to capture requests being made. Having it on by default would eat lots of memory in setups where many requests are being made.

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

2 participants