Ardekantur

Computer Science, Ruby, and Software Engineering.

Tag: testing

Looks Like Spammers Don’t Write Tests

Nicked from a spam harvest on my blog.

“TDD”.reverse

When TDD might not be the best philosophy, and when it might be better to start testing in medias res, as it were.

Ruby, RSpec and BDD Part I

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 [...]

Merb and its Generators

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 [...]