TDD
-
Software Development

Mock Around the Clock
When I produced System Stubs I attempted, and failed, to produce a mock implementation for the system clock. Itās very…
Read More » -
Software Development

Why Most Unit Testing is Waste???
A rebuttal of points raised in this article by James O Coplien. Itās worth noting that James O Coplien is…
Read More » -
Software Development

All Our Assertion Problems
When our software outputs JSON, it can be hard to test. Consider this code: 1 2 assertThat(someJson) .isEqualTo(expectedJson); Assuming the…
Read More » -
Software Development

The Right Kind of Failure
Basic question: why do we write our tests first and make sure they go red? Answer: because itās possible that…
Read More » -
Software Development

It Looks Right To Me
When writing a test itās important to test both positive and negative scenarios. Itās important to test edge cases. However,…
Read More » -
Core Java

A Java Test Class Doesnāt Test a Class
If you write tests badly, you end up with a Curdled Test Fixture, where thereās an unholy mess of unrelated…
Read More » -
Core Java

So I Wrote a Library
If youāve never done it, go out and find an open-source project to contribute to. Whether itās one of your…
Read More » -
Software Development

Chasing The Dragon
Functions should, ideally return something. It makes them easier to test. Same for services in a service architecture. Bosh! Chasing…
Read More » -
Software Development

The Three Stages of Knowledge
In software development, knowing how to do things seems to fall into three stages. Ok⦠letās pretend it does, itās…
Read More »

