Your TDD Treasure Map
summary
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
chapters (7)
- 0:00Welcome to TDD
- 5:17Flowchart to test rigging
- 11:39Validation and failure states
- 17:19Refining tests and code
- 20:52Authorization logic
- 23:18Scaling flowcharts
- 24:41Tools and closing
related talks
27mThe TDD Treasure Map
54mTDD Workshop: Outward-in Development, Unit Tests, and Fixture Data
01h 19mBDD and Acceptance Testing with RSpec & Capybara
28mTDD as if You Meant It
52mStory Driven Development: The Next Generation of Rails Functional Testing
27mUnderstanding Rails test types in RSpec
27mTDD on the Shoulders of Giants
29mSOLID and TDD, Sitting in a
