029: Mock – Test Doubles

This episode of Testing All The Things we continue a series where we look at different forms of Test Doubles. We will look at a different type of Test Double in each of the videos. We will implement our own test doubles, we will not use a mocking framework.

We use Test Doubles to replace the dependencies a class uses in production so we have complete control over its dependencies enabling us to isolate the code under test from the implementation of its dependencies.

In the video we look at the Mock type of Test Double.

The code produced during the Test Doubles episodes can be found on GitHub

028: Spy – Test Doubles

This episode of Testing All The Things we continue a series where we look at different forms of Test Doubles. We will look at a different type of Test Double in each of the videos. We will implement our own test doubles, we will not use a mocking framework.

We use Test Doubles to replace the dependencies a class uses in production so we have complete control over its dependencies enabling us to isolate the code under test from the implementation of its dependencies.

In the video we look at the Spy type of Test Double.

The code produced during the Test Doubles episodes can be found on GitHub

027: Stub – Test Doubles

This episode of Testing All The Things is the first in a series where we look at different forms of Test Doubles. We will look at a different type of Test Double in each of the videos. We will implement our own test doubles, we will not use a mocking framework.

We use Test Doubles to replace the dependencies a class uses in production so we have complete control over its dependencies enabling us to isolate the code under test from the implementation of its dependencies. In the video we look at the Stub type of Test Double.

The code produced during the Test Doubles episodes can be found on GitHub

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.