Blog Archives

Approaches to refactoring using Gilded Rose kata

As part of our weekly hours worth of group practice we have been working on the Gilded Rose Kata. We worked with this kata for 5-6 weeks with different pairs. We found this a very interesting kata with a number

Posted in Dojo, Practice, Programming, Refactoring, TDD

Lessons learnt from facilitating dojos

Some lessons from facilitating coding dojos with both large ( >8 ) and smaller groups of developers. With the smaller group we aim to have a coding dojo every week using  cyber-dojo repeating the same kata (bowling game). – the aims

Posted in Practice, Programming, TDD

Turning off intellisense

Cyber-Dojo (http://www.cyber-dojo.com/) is a web based tool supporting many languages for practising TDD. Its a really cool tool for jumping in and practising katas with minimal fuss – I have blogged about it before. One of the ‘features’ that you

Posted in Practice, Programming, TDD

Adding memory leak checking to GoogleTest on Windows

Google Test framework does not natively support memory leak checking. For Windows it is possible to use the CRT debugging tools  in order to take a snapshot of the memory before a test runs and then compare it to the memory

Posted in Google Test, Programming, TDD

Refactoring with GTest in Visual Studio

I have been using GoogleTest in Visual Studio 2010 for a few weeks now. I am fairly happy. I have the gtest libs built and it is pretty easy to setup a test project and start testing and reafctoring. I

Posted in Programming, Refactoring, TDD

Refactoring legacy code

Currently, I am working with some legacy code. There are errors and no automated tests. I made the choice that I will refactor the code and write unit tests as I will have to maintain the code for the immediate future. I

Posted in C++, Refactoring, TDD

Header only C++ unit tests

I am returning to TDD in C++. Through some recommendations I am using googletest and hippomocks as a unit test framework and mocking framework respectively. Previously, I have used CppUnitLite and briefly CppUTest (which appears to have grown out of

Posted in Programming, TDD

Jabbering about new old things

Over the weekend I was struck by a “programmer’s block”, I had time to work on some code, a fresh new project, yet no particular inspiration about what to work on.  In the end I gave up and went for

Posted in Jabber, Programming, TDD, XMPP