Open jarcoal opened 10 years ago
You can easily implement that in your project with a catch-all mock that does not return a response.
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.
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.
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?