Archive for December, 2006

TDD Anti-Pattern: The Nullifier

Lately I’ve been encountering quite a bad smell in a few unit tests I’ve seen (and even a few I’ve written): tests that only contain assertNull and assertNotNull. Essentially, the tests will verify that a method call returns something besides null, but doesn’t verify the value of the object returned. I initially noticed this when [...]

Using Value Objects in Fitnesse With Nested Tables

Today I discovered something rather cool while playing with FitLibrary. Not only can you just pass primitive types to fixtures, you can also pass in value objects as well (at least in DoFixture) by using nested tables. Nested tables work pretty interesting, and I couldn’t really find much documentation on it outside of a scant [...]

Let it Snow…

Last night it started snowing pretty hard, with forcasts that we could get 6 or so inches. When I decided to go to sleep, I looked out the window and saw it snowing lightly, ,with grass still poking out through the snow… no big deal. Just a normal light snowfall. Well, to my surprise, I [...]

Subscribe to RSS Feed Follow me on Twitter!