From: mekondelta Date: 2007-06-25T23:13:42+09:00 Subject: Re: I don't get rspec M. Edward (Ed) Borasky wrote: > > I do have a bone to pick with the tutorial (or maybe I don't understand > TDD/BDD yet). In the stack example, I cringe with horror when I see them > setting a method that just returns "true" simply to get a test to pass. > That grates on me, because I *know* I'm actually going to have to write > the real code eventually. It seems like a waste of time to do the > nitty-gritty "add a test to the spec/add a trivial fix to the code" cycle. > The idea behind doing small steps is that you know exactly what went wrong when you run the tests. If you roll several steps into one test/development cycle then you have many possibilities to investigate what went wrong if they fail. Sometimes, it is easier to skip the most trivial steps though! -- View this message in context: http://www.nabble.com/I-don%27t-get-rspec-tf3042672.html#a11287619 Sent from the ruby-talk mailing list archive at Nabble.com.