Failed to Function

Testing Side Effects

Controlling the objects that a class depends on can allow us to verify the correct interactions occur from unit tests.

Given When Then

Automated behavioural tests provide living documentation and help to create a shared language between business experts and the development team.

Adding Git and Tests

In this post we will initialise a Git repository and add unit tests to an existing Kotlin and Gradle project.

Test Driven Development with Gradle and Kotlin

Here is a short introduction to using Gradle and Kotlin in IntelliJ. This setup is perfect for Test Driven Development.

Completing the Refactoring

Test Driven Development can be a great help when refactoring code, guiding you to the best possible outcomes.

Failed to Function © 2026