Looks Like Spammers Don’t Write Tests
Nicked from a spam harvest on my blog.
Nicked from a spam harvest on my blog.
When TDD might not be the best philosophy, and when it might be better to start testing in medias res, as it were.
Here is a bit of work on Behavior Driven Development (BDD) with rspec in Ruby, based off the examples provided by this excellent Null Is Love series of posts. The only thing I know externally, in terms of BDD, is the process itself:
Write a test for the functionality you want. Watch the test fail. Write code to [...]
It’s slowly starting to appear that what Merb needs is to test the correctness of its generators, to ensure that no exceptions are raised during the generation process, as well as to ensure that all the files they create are accurately named and contain allowed Ruby syntax. How on earth you’d test this sort of [...]