The TDD Treasure Map
summary
A practical technique emerges: draw a flowchart of one action, convert each path into RSpec rigging, watch failing tests drive minimal Rails code, and iterate until green. Examples use RSpec and Rails, a Pirate Cove CRUD update case, and a concrete metric — handling complex auth explodes test count by 57% more tests unless logic is encapsulated. Presentation mentions workflow tooling (video captured and edited by Confreaks) and a plain text diagram tool Asky Flow.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:20Bootcamp struggles to TDD
- 5:30Treasure maps for code
- 7:15Building test rigging
- 12:50First test cases
- 14:35Validation failures in tests
- 17:04Fail tests, write code
- 18:30Iterative testing
- 19:14Authorization checks
- 21:44Service objects
- 23:08High-level flowcharts
- 24:54Tools and tips
- 25:35Call to action
related talks
27mYour TDD Treasure Map
54mTDD Workshop: Outward-in Development, Unit Tests, and Fixture Data
27mTDD on the Shoulders of Giants
28mTDD as if You Meant It
52mStory Driven Development: The Next Generation of Rails Functional Testing
39mStop Testing, Start Storytelling
42mTDD in Tatters
01h 19mBDD and Acceptance Testing with RSpec & Capybara
