TestServer - mock third-party services
TestServer makes it easy to mock third-party services in ExUnit.
TestServer spins up an HTTP server with :httpd
, Plug.Cowboy
, or Bandit
, and handles HTTP/1, HTTP/2, WebSocket, and HTTPS endpoints.
Blog post: https://danschultzer.com/posts/testserver-mock-third-party-services
Read next Credo Language Server and the birth of elixir-tools