As part of an application I am developing, I have been delving into the
dark art of Rails testing. Since the existing literature on the topic
is a bit sparse, I have written up a couple of brief articles on testing
strategies for rails.
The first one is on the usefulness of ‘Positive and Negative Controls’,
and the other is a simple way to make sure you are working with valid or
invalid objects in your tests.
The articles can be found at http://www.sciwerks.com/blog/