Blog An exploration of the art and
craft of software development

Testing Tips

Posted by Marty Haught on Monday, October 22, 2007

A few nights ago I gave a talk at the Boulder Ruby Group called Testing Tips. This was a last minute talk I put together once Chad Fowler had let me know he couldn’t make the meeting due to being out of town. I promised those attended that I would post my slides as well as some of the enhancements we have done in our rails development. So without further ado, here it is.

TestingTips.zip

I’ve bundled together everything in a zip file. Inside you’ll find the slides, TestingTips.pdf, and the two testing files. testing_extension.rb is the file that holds most of our reusable enhancements in two modules for TestCase and IntegrationTestCase. I’ve also included a bare bones test_helper.rb that demonstrates how you would include them as well as extend both TestCase and IntegrationTestCase. Feel free to use these to enhance your own testing.

blog comments powered by Disqus