Archive for March, 2006

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 [...]

30 Minutes, first thing in the morning

Wednesday, March 15th, 2006

I used to have the habit of coming into work, and as the first thing make some coffee and grab something to eat in the kitchen. I would hang out there, chatting with whoever was available, for a varying amount of time. I started noticing that, when doing this, it became harder and harder for [...]

Testing Practice: Use your eyes, when necessary

Tuesday, March 7th, 2006

Imagine the situation: You have a third party system, and you would like to query it for some information. You are not sure yet how this information will look like, and it will also change over the course of exploring and discovering said system in your test. Let’s also say, the output is a [...]

How to test if your ASSERT macro is compiled out

Saturday, March 4th, 2006

I am often interested in how specific code works in different build configurations. In the case of a custom ASSERT macro, I want to make sure that it does not evaluate any expression in builds where it is disabled (i.e. it is 'compiled out'). The technique I use is the following:

Let's assume CHECK_EQUALS is a [...]

Some Meta information

Friday, March 3rd, 2006

I have written a little bit more information in the About post, about what this blog is about (I can’t think of a way to put this with less about’s), and even a tiny bit about myself.

I have also changed the style by accident, and I forgot which style I used before. I will learn [...]