~/talk

Your TDD Treasure Map

Talkat RailsConf 2022 · 2022-05-17..05-19· [testing, career-development]
links:none on file
slides:none on file

Shows how to turn ticket acceptance criteria into a concrete flowchart-to-tests workflow for a Rails controller: drawn happy path, add validation branch, add auth branch, then write RSpec request examples for redirect, DB update, and render-on-error. Demonstrates isolating complex auth into an authorization service object, quantifies path blowup (four to seven contexts), and mentions tooling and notation like askiflo.com for ASCII flowcharts and Capybara-style examples.

AI-written summary · about

  1. 0:00Welcome to TDD
  2. 5:17Flowchart to test rigging
  3. 11:39Validation and failure states
  4. 17:19Refining tests and code
  5. 20:52Authorization logic
  6. 23:18Scaling flowcharts
  7. 24:41Tools and closing
~/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.