Chris Stuff
Categories
-
Recent Posts
Recent Comments
Archives
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- December 2011
- May 2011
- March 2011
- December 2010
- August 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
Category Archives: Testing
The Ruby/Rails Life – My Rails 3 Stack – Part 2
Rails Deployment & Testing There are some really nice tools available for deployment and testing rails. Below is a brief description of some of the ones I’ve been using with success. Capistrano I remember in the early days of my … Continue reading
Testing assumptions with preconditions
While driving design with unit tests, I often break behaviors out into separate classes, both to increase cohesion, and as a side effect, increase testability. Occasionally, I run into situations where I have some sort of environmental variable that never … Continue reading
Unit Testing [Serializable]
A common struggle with unit testing is figuring when to just assume somebody else’s code works. One such example is serializability: for simple classes, it should “just work” so we shouldn’t need to write a unit test for each of … Continue reading
Also posted in IowaCodeCamp, Members
Leave a comment
Review: Pragmatic Unit Testing In C# with NUnit (2nd Edition)
I’ve written hundreds of tests, read dozens of articles and listened to several presentations on unit testing, but until recently had never actually read a book dedicated to the subject. In reviewing my options, I was told repeatedly that I … Continue reading
Also posted in Uncategorized
1 Comment
Debug It!
If there’s one thing I like about programming computers, it’s the ability to tell a machine exactly what to do. –insert Skynet reference here– With that said, I wanted to learn some more tips, tricks and techniques to figure out … Continue reading
Also posted in Best Practices, Book Review, Development
2 Comments
Working With Assertions Made on Arguments in Rhino Mocks
Today when modifying what we call an “order notifier” (essentially observers that are notified when an order is placed), I was having trouble figuring out why my test was failing. The project is written in C# and this test … Continue reading
Also posted in Best Practices, NUnit, RhinoMocks
7 Comments
Why is CruiseControl.Net Hiding My Test Results?
Some time ago, I noticed a CruiseControl.Net build report with thousands of unit tests passed, zero failed and a dozen or so skipped, suddenly showing that no tests were run: I immediately thought somebody did something really bad. After some … Continue reading
Also posted in Continuous Integration, NUnit
1 Comment
How I Approach a Defect
Lately I’ve been tracking some of the steps I go through in a given day or week. I was fixing a bug the other day when I decided that I should write down all the mental notes I refer to … Continue reading
Also posted in Best Practices, Continuous Improvement, Development
2 Comments
HTTP Error Codes in WatiN 1.3
One of the biggest surprises when I started working with WatiN was the omission of a mechanism to check for error conditions. A partial solution using a subclass has been posted before, but it doesn’t quite cover all the bases. … Continue reading
Also posted in Design Patterns, Design Principles, SOLID
6 Comments
UI Automation tools snake oil?
Michael Feathers posted a thoughtful piece describing the general problems of UI testing tools and the industry in general. In general, I’d agree here. Automation tool vendors, as with almost every tool vendor out there, are eager to solve perceived … Continue reading

