plug

Testing External Requests in Elixir? Roll Your Own Mock Server

What should you do when testing Elixir code that makes web requests to an external API? We don't want to let our code make those requests during a test run––we'll slow down our tests and potentially use up API rate limits. We could mock such…