Posts about techniques, tools and tips for better software testing.

The curious case of the test that wouldn't run

Saturday, December 09 2017 testing

The first symptom I noticed was when some of my unit tests wouldn’t run inside Visual Studio 2017. This wasn’t a simple case where a particular test failed, rather the problem was that the test wouldn’t run at all.

Read more »

Getting Started with FsCheck

Saturday, July 01 2017 testing

Can we just ignore the fact that the Getting Started post is my third in the series on FsCheck? This is what happens when I just start blogging about interesting things without planning out the series of posts in advance.

Read more »

Shrinking and Equality Testing with FsCheck

Saturday, June 24 2017 testing

In last week’s Property Testing with FsCheck, we saw how to write a couple of simple tests to check that an implementation of .Equals() was correct. We didn’t see what happens when the test fails, nor what we can do to make that failure easier to understand.

Read more »

Property Testing with FsCheck

Sunday, June 18 2017 testing

I’ve been writing some property tests with FsCheck and to say that the process has been bittersweet is a bit of an understatement. The good news is that writing property tests has successfully uncovered bugs. The bad news is that writing property tests has successfully uncovered bugs.

Read more »

What's the value of a failing unit test?

Saturday, April 08 2017 testing

As discussed last time, the value of a unit test comes when it fails, signaling that some necessary characteristic of the system is no longer present.

Read more »