Ecto Sandbox Async Tests: Need for External HTTP Call Isolation in Elixir 1.16
Goal Run integration tests that touch the database and external APIs without using production credentials, relying on the Ecto sandbox for DB isolation. Constraints and Uncertainty The Ecto sandbox (introduced in Ecto 3.10) rolls back database transactions after each test, even in async: true mode. However, the sandbox does not address state changes made by