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 013 – Ginkgo & Gomega

Screencast demonstrating Ginkgo & Gomega for Go

In episode 13 of Testing All The Things We implement a Set (Abstract Data Type) in Go

we look at Ginkgo a BDD spec framework and assertion/matching library Gomega.

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

Episode 003 – Spy Test Doubles

In this episode 3 of Testing All The Things we continue to look at different types of Test Double.

In the second video on test doubles we look at Spy Test Doubles.

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