Archive for the 'TDD' Category

The Law of Code Attraction

Thursday, May 17th, 2007

I have made an observation the other day about a curious correlation between Test Driven Development (TDD) and what is nowadays called the “Law of Attraction”. This law roughly states that you will attract into your life whatever things or circumstances you repeatedly think about and desire. While I don’t agree with how this concept [...]

From manual to automatic testing - A case study

Monday, August 14th, 2006

I recently implemented “picking” in the publicly available parts of the Doom 3 engine. Picking in 3D games (or applications) means that the mouse cursor position is mapped to the 3D world in such a way that the mouse can be used to “pick” up objects in 3D space. In this post I would like to [...]

Unit testing within Doom 3

Monday, July 3rd, 2006

Allow me to gleefully report that I have integrated my unit testing framework into the Doom 3 engine.

I have previously used this framework to run unit tests via a simple text interface. Tests are easily defined using a simple set of macros and automatically enumerated. Now, whenever my modified version of Doom 3 starts [...]

X-Macros

Sunday, June 18th, 2006

When looking for X-Macros on Google, the only reference I came across was this one (ddj.com), which is also the place where I happened across X-Macros by accident (in the printed version of the magazine). I have since put them to great use in production code. What are X-Macros? They are basically a clever way to [...]

test by test - Some Instructions on Programming and Life

Sunday, March 26th, 2006

I can not begin to tell how much I love a little book called “bird by bird - Some Instructions on Writing and Life” by Anne Lamotte. It has influenced my life and my work in more ways than I can list here, and this is also not the subject of this post. The idea [...]