~/talk

Painless Test Driven Development with Elixir and Phoenix

Talkat ElixirConf 2016 · 2016-09-01..09-02· [testing]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 1:18Test-Driven Development
  3. 3:21Checking Work with My Unit Tests
  4. 9:41Faker
  5. 10:10Organizing Your Test Files
  6. 16:22Acceptance Tests
  7. 19:03Page Objects
  8. 25:01Custom Assertion
  9. 27:23Tips and Tricks Mix Tests
  10. 27:55Mix Test Trace
  11. 31:19Asynchronous Browser Testing
  12. 33:40Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.