badnet
is a lightweight TCP proxy that sits in the middle of your tests and what they're trying to connect to. badnet sits outside of your application or tests to help simulate real network failures without modifying application code.
- Setup a proxy
- Connect your application
- Run typical tests
Future Ideas
- Add channel / helpers to modify proxy behavior in the middle of an integration test
Related