Thursday, September 13, 2007

test/spec




For the sunshineorganics.ca site, I've finally got the basic core built, and have been in mostly Test Driven Devlelopment (TDD) mode for the last month. Something neat that happened recently was that as soon as I script/created a model, I wrote the test/spec for it.

I really like test/spec, it lets me mix up my specifications and my tests together so that if something really feels like a test instead of a spec, you can write it. I actually haven't written a single test yet, it's all been specs, but I like the idea that I could write a test if I really felt like it.