Category Archives: Testing

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 

| Leave a comment

How We Do Things – Testing Part 2

This content comes solely from my experience, study, and a lot of trial and error (mostly error). I make no claims stating that which works for me will work for you. As with all things, your mileage may vary, and … Continue reading 

Also posted in Best Practices, Book Review | 2 Comments

How We Do Things – Evolving our TDD/BDD Practice

This content comes solely from my experience, study, and a lot of trial and error (mostly error). I make no claims stating that which works for me will work for you. As with all things, your mileage may vary, and … Continue reading 

Also posted in git, Open Source | 4 Comments

Smart and gets things done *right*

I suppose it’s time for the obligatory weigh-in on the latest bit o’ reckless software advice from Joel Spolsky on the merits of the “Duct Tape Programmer”. I think being a duct tape programmer is a bit like being an … Continue reading 

Also posted in Development, Project Management | Leave a comment

Video of the Continuous Integration workshop

Early this week we  ( Jeffrey Palermo and I ) gave a Continuous Integration Workshop in Austin.  We were able to record the workshop and our company Headspring Systems made the recordings available on their website. There is just under … Continue reading 

| Leave a comment

Actually Querying with the Specification Pattern

In my previous post, I talked about using the specification pattern for querying collections. I didn’t actually show any code that does what I was talking about, I just showed the set-up and creation of specifications. The following is how … Continue reading 

Also posted in Design Patterns, DRY, Moq | 10 Comments