TDDing a unit, not a class
One approach to TDD is to write a test per each class. In this blogpost I’m showing an alternative way - we focus on the unit as a whole. This results in a top-down approach and a bit different tests.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
One approach to TDD is to write a test per each class. In this blogpost I’m showing an alternative way - we focus on the unit as a whole. This results in a top-down approach and a bit different tests.
Post a comment