Test-Driven Development

Contract Tests

February 1, 2023

One of my favorite awesome talks of all time is Integrated Tests Are a Scam by J.B. Rainsberger. I must admit that the title has a clickbait vibe to it. However, I very muc...

Read more ...

The Testing Quadrant

June 15, 2022

Back in 2003, Brian Marick wrote an excellent article series about agile testing. There he described the concept of the Testing Quadrant. To my recollection this used to be a ...

Read more ...

Ignoring Tests

June 22, 2021

Most test frameworks out there have the capability to disable tests. This is usually done by adding some kind of annotation that instructs the test runner to ignore an individu...

Read more ...

Inside-Out and Outside-In TDD

June 16, 2020

Test-Driven Development is a discipline that exists for about two decades now. Unfortunately, to this very day, it is still not without controversy. Most professional developer...

Read more ...

Test Double Heuristics

June 3, 2020

In the previous blog post, we’ve talked about avoiding excessive specification of test doubles. This is just one in a series of “good practices” for using test doubles in solit...

Read more ...

Test Doubles

April 8, 2020

In the previous blog post, we’ve talked about indirect inputs and outputs when a unit test exercises a Subject Under Test. The examples shown previously demonstrate the use of ...

Read more ...

Indirect Inputs and Outputs

April 1, 2020

Previously we discussed what state and behaviour verification is about. Depending on the nature of the production code that we’re designing, we might decide to apply one approa...

Read more ...

Cascading Failures

March 18, 2020

In a previous blog post, we discussed the test pyramid and why it is a useful model to reason about a healthy mix of solitary and sociable tests. I mentioned that at t...

Read more ...

The Test Pyramid

November 7, 2019

In the previous blog post, we touched on two different categories of automated tests, namely solitary and sociable tests. We also mentioned that in order to build maintainable ...

Read more ...

A Taxonomy Of Tests

October 8, 2019

It’s more than fair to say that the terminology used in the world of automated tests can be a bit overwhelming. Software people have uncovered all sorts of tests in a wide vari...

Read more ...

Fast Feedback

September 3, 2019

Test-Driven Development is a discipline that exists for almost two decades now. Unfortunately, to this very day, it is still not without controversy. Most professional developer...

Read more ...

Blaming Mocks For Bad Design

December 18, 2018

A while back I stumbled upon this talk titled Built-in Fake Objects. After I’ve watched the first 20 minutes or so, I was so worked up that I almost threw away my iPad just out ...

Read more ...

An Observation about TDD

September 9, 2011

To me, developers that are not applying TDD practices during their day-to-day job always seem more in a hurry than developers that do apply red-green-refactor. In their hurry, t...

Read more ...

AutoTest.NET

November 30, 2010

I just want to quickly point out a tool that I’ve been playing with for a couple of days now, named AutoTest.NET. Its an open-source tool that originates from a popular tool in ...

Read more ...

Behaviors with MSpec

February 26, 2010

In my previous posts, I showed the syntax for context/specifications using Machine.Specifications (or MSpec for short) and how to use an auto mocking container in conjunction wi...

Read more ...

MSpec and Auto Mocking

February 23, 2010

In my previous post, I explained how to get started with Machine.Specifications (or MSpec for short) and showed you how the syntax for context/specifications looks like when usi...

Read more ...

It's the little things

July 17, 2008

A while ago, I wrote a blog post regarding Test Data Builders Refined. Earlier this week, I wrote a very simple base class that provides an implicit cast operator for the builde...

Read more ...

Test Data Builders Refined

April 26, 2008

Last year, I blogged about Test Data Builders here and here. I still use them heavily in my unit tests for creating objects with test data. Heck, I also use this pattern for flu...

Read more ...

AutoMocking Container

January 13, 2008

When writing unit tests that involve interaction based testing, you most likely end up using one of the mocking frameworks out there. The mocking framework I'm using is Rhino Mo...

Read more ...

Test Data Builder

December 23, 2007

A while ago, I blogged about using Test Data Builders as opposed to the Object Mother pattern. Here are some links to additional tips and tricks: Tricks with Test Data Builders...

Read more ...

Article on Dependency Injection

September 29, 2007

Mark Monster has written an excellent article on Dependency Injection in the newest .NET Magazine (it's no MSDN magazine, but hey, its free of charge). Nonetheless, there are tw...

Read more ...

Bug Driven Development

September 24, 2007

Are you doing Test-Driven Development or Bug Driven Development? From my experiences, test-driven development seems to slow you down at the beginning of a project. This isn't en...

Read more ...

NUnit vs Team System Unit Test

May 15, 2007

At work there's a discussion going on whether we will choose NUnit or Team System Unit Test for our unit tests. Currently we have about 1000+ unit tests written in NUnit and we ...

Read more ...

NUnit 2.4 constraints

April 13, 2007

The forthcoming release of NUnit 2.4 supports a constraint-based syntax for assertions. Don't worry, the old syntax (classic model) is still going to be available for a long tim...

Read more ...

To test or ... to test?

October 7, 2006

I recently came across the .NET Mock Objects project. This framework supplies mock implementations of the ADO.NET generic interfaces like IDataReader, IDbConnection, etc. (curre...

Read more ...

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of Writing Maintainable Unit Tests. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be