Unit Testing Costs and Benefits

March 10, 2015 0

There is always a lot of discussions about the costs and benefits of unit testing. The opposition was exacerbated by the adoption of Test-Driven Development (TDD), a technique that recommends writing unit tests before you write the code. In this blog post, Steven Sanderson discusses unit testing with a costs and benefits perspective.

Advanced TDD

December 4, 2014 0

Once you start to get good at Test-Driven Development (TDD), you begin to learn the nuances of the discipline such as the fact that tests and code grow in very opposite directions. As the tests get more specific, the code gets more generic.

Test, Transform and Refactor

November 27, 2014 1

Let’s have a close look into the Red-Green-Refactor cycle and understand the subtleties of each step. When we go down the rabbit hole of Test Driven Design (TDD), we sometimes take too big steps leading us to many failed tests we just can bring back to green without writing a lot of code. We need to take a step back and take the shrinking potion of baby steps again.

Will You Get a Job in 2024 Without TDD?

November 24, 2014 0

This presentation looks at the chasm-crossing potential of Test-Driven Development (TDD) and some related technologies. The aim is that you will still be able to get a good job in 2024.

TDD in Tatters

November 6, 2014 0

Test-Driven Development (TDD) has been tattered, torn, twisted, stood on its head, and pounded into an pulp of techno-fetishism. TDD was a game-changer, but the focus in the interceding years has shifted from technique to tools and TDD has been devolving into a lost art.

Strict Test-Driven Development

June 10, 2014 1

Test automation is almost mandatory for projects that demand high quality as well as short release cycles. It acts as safety net in order to protect existing functionality against bugs resulting from unintended side-effects of recent changes. Developers “in the trenches” often automate their tests but don’t practice strict Test-Driven Development (TDD).

TDD: Tell, Don’t Ask

March 13, 2014 0

Test driven development follow this pattern: Setup – Execute – Verify the new state. Asking the system under test for its new state has traditionally been done to check the new state. This can create problems with the Law of Demeter. The system under test knows unnecessary much about the objects it is collaborating with.

1 2 3 7