Episode 004 – Mock Test Doubles


In Episode 4 of Testing All The Things we continue to create the driving licence generator we started in the previous two videos. In this video we create a mock random number generator to create random digits to the end of the driving licence number.

You can find all the Test Double code in this GitHub repository or just the code created for the spy functionality in this commit

Episode 002 – Stub Test Doubles


In episode 2 of Testing All The Things we start to exploring Test Doubles. Test doubles are used to isolate the code under test from its dependencies. Test doubles imitate the functionality of a dependency.

Creating test doubles do not require the use of a mocking framework. In the following videos we will not use a mocking framework so we can concentrate of the theory.

In the first video we are looking at the simplest form of Test Double, Stubs.

Announcing: Testing All The Things Screencast


For a while now I’ve been thinking about producing content other than a blog. So with that in mind I’ve been working on a series of coding screencasts about software testing.

Testing All The Things is my coding screencast that I will use to demonstrate different techniques and tools for automated testing software.

I plan to do broadcast live coding once I get a bit more practise but for now I will record the coding sessions then upload them to YouTube fortnightly.

The code produced during my coding demonstrations will be uploaded to the Testing All The Things GitHub account.

There is also a new Twitter account to follow as well if you want more tweets about coding and testing rather than cycling and family.

If you have any suggestions for things you would like me to cover please leave a comment on this post.

Look out for the first video tomorrow.