RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

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.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in