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

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 »

What's the value of a passing unit test?

Sunday, April 02 2017 testing

A unit test that always passes has a certain value - but one that fails can be priceless. Think about the reasons why you might write unit tests for your code.

Read more »