Episode 017 – Test && (Commit || Revert)

In this screencast we try out a new Test Driven Development concept call Test && (Revert || Commit) or TCR .

The idea of TCR is that you work in very small increments and a little bit of test code and a little bit of production code. When you run the test if the test pass your changes are committed and if you tests fail your changes are reverted.

You can find the code created during this video in this GitHub repository.

The plugin I use for IntelliJ is Limited WIP

Episode 014 – Pact Consumer Testing (PHP)

The is a first in a series of screencasts in which we look at API and Microservice testing framework called Pact.

In this video we start looking at using Pact PHP to test drive the implementation of a HTTP consumer.

You can find the code created during this video in this GitHub repository.

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