Re:When To Write Bad Code
by m__ on Tuesday January 29, 2013 @11:52AM
(#5134935)
This is why you test from the outside in: You first write an acceptance test where you just specify what goes in and what should come out. The error/failure messages you get when running this test drive your design and tell you which components you should write next.
The RSpec book is a pretty good introduction to this topic.
The RSpec book is a pretty good introduction to this topic.