Holistically built and tested APIs
summary
Claims a practical Elixir-way TDD workflow: building APIs in Phoenix with concrete libraries and examples. Shows inquisitor for query param → Ecto queries, mail for RFC2822 compose/parse and courier for queued, rate‑limited delivery with adapters and a test adapter that the suite can receive. Describes ecto_fixtures that compile fixture files, topologically sort by foreign keys, and insert in order, plus json_api_assert and Ember/ember‑exam based parallel acceptance testing.
AI-written summary · about
chapters (21)
- 0:00Start
- 8:44Using Inquisitor
- 9:27Security
- 10:02Handle virtual attrs
- 15:22Compose single-part
- 15:44Compose multi-part
- 16:34Parsing
- 20:39Define Mailer
- 20:54Add Mailer to Supervisor Tree
- 21:19Configure your mailer
- 21:49Build a custom adapter
- 22:18Scheduling deliveries
- 22:49Rate limiting & delivery frequency
- 23:05Phoenix View Rendering
- 23:49Testing message delivery
- 28:27Add Compiler
- 29:46Managing Data Relationships
- 30:24Add Fixture module
- 35:05Other features
- 36:57Composable payload assertions
- 45:49CEO of DockYard
related talks
38mBuilding and Testing API Endpoints with Phoenix
39mPainless Test Driven Development with Elixir and Phoenix
35mA Whirlwind Tour of Testing in Elixir
38mTesting with Elixir/Erlang
49mTesting a Large GraphQL API With Aplomb
20mTesting: Cable and Chain
01h 00mTesting Heresies
04mLightning Talks – Martin Schurrer
