This is intended as a gentle introduction to TDD/DBB for people who have not experienced it before. We all know what a stack does, so let's focus on the running tests and letting those tests drive the implementation.
I used this a part of the TDD Fundamentals
talk I gave at Bogota Ruby Meetup, you can find the slides here.
- Fork this project and clone it locally
- Run
bundle
- Run
bundle exec rspec spec/ --color --format doc
- Make tests pass
- Refactor