LightningTalk: E2E test with Ecto
summary
Ecto SQL Sandbox plug exposes a test route so a POST to /api/sandbox returns a sandbox ID that the front end adds to every request, letting a browser‑driven app exercise the real backend in isolation; tests then send a DELETE to the same endpoint to roll back. Works with Hound and with ExMachina-based endpoints to create fixture data from the front end, is a bit slow and needs longer timeouts. Ecto SQL Sandbox plug POST to /api/sandbox returns sandbox ID DELETE to clear sandbox
AI-written summary · about
related talks
04mLightning Talks – Martin Schurrer
39mPainless Test Driven Development with Elixir and Phoenix
27mFullstack testing
47mHolistically built and tested APIs
49mFront End Testing Frontier
56mE2E Testing Front-end with Hermione
35mA Whirlwind Tour of Testing in Elixir
58mDocumenting application behaviours with E2E tests
