Monthly Archives: July 2012

Hungarian Refactoring

When refactoring C++ Hungarian notation code base changes should look similar to the existing code base. Making changes (using TDD of course) can involve refactoring existing code into smaller functions and occasionally moving it to a new class. Hungarian notation

Posted in C++, Programming, Refactoring

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