Painless Test Driven Development with Elixir and Phoenix
summary
Advocates a minimal starting toolset—ExUnit plus Hound—and adds libraries only when needed, demonstrating ExMachina and Faker for factories, mix test options like trace and stale, and Ecto 2 with Wallaby to run asynchronous browser tests that cut suite time roughly in half. Shows a demo League of Legends app on GitHub, organizes tests to mirror code directories, extracts page modules and a custom assert_current_path macro to make acceptance tests readable and failures informative.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:18Test-Driven Development
- 3:21Checking Work with My Unit Tests
- 9:41Faker
- 10:10Organizing Your Test Files
- 16:22Acceptance Tests
- 19:03Page Objects
- 25:01Custom Assertion
- 27:23Tips and Tricks Mix Tests
- 27:55Mix Test Trace
- 31:19Asynchronous Browser Testing
- 33:40Questions








