Add initial slides for TDD workshop presentation with custom styles and navigation

This commit is contained in:
fiatcode 2026-04-16 00:22:22 +07:00
parent 3a4521f52a
commit 5b4df9ebd6
No known key found for this signature in database
4 changed files with 1043 additions and 227 deletions

View file

@ -1,6 +1,6 @@
# TDD Workshop
**A hands-on, 2-hour workshop for learning Test-Driven Development through deliberate practice.**
**A hands-on, 80-minute workshop for learning Test-Driven Development through deliberate practice.**
---
@ -11,8 +11,8 @@ This workshop teaches the RED-GREEN-REFACTOR cycle through:
2. **Hands-on practice** (Password Validator or Shopping Cart)
3. **Group reflection** and retrospective
**Target audience:** Developers familiar with TDD concepts but lacking hands-on practice
**Duration:** 2 hours
**Target audience:** 3-person team (2 developers + facilitator)
**Duration:** 80 minutes
**Language:** Dart
---
@ -118,12 +118,11 @@ tdd-workshop/
2. **Choose a kata:**
- **Password Validator:** Rules-based validation, interesting refactoring
- **Shopping Cart:** Stateful domain object, data structure decisions
3. **Follow the workflow:**
- Uncomment one test at a time
- Make it RED (watch it fail)
- Make it GREEN (minimal code to pass)
- Refactor (clean up duplication)
- Repeat
3. **Follow the 3-Way Ping-Pong workflow:**
- **Dev A (RED):** Uncomment one test, run it, watch it fail. Pass the keyboard.
- **Dev B (GREEN):** Write minimal code to pass. Pass the keyboard.
- **Dev C (REFACTOR):** Clean up the code. Write the next test (RED). Pass the keyboard.
- Rotate roles and repeat
### Kata Instructions