25 July 2010

Every wonder how to get started with TDD?

Recently, Brett Schuchert has started to put together a series of videos called C++ and TDD. Here is the first in the series called C++ and TDD, Getting Started. Follow the other links to see his follow-on videos.

I found these to be pretty much how it feels to do TDD with C++. He uses Eclipse with the CDT plugin for C++ and CppUnit for a unit test framework. The development environment looks very similar to how we do development on the MCATK team.

The only exception is that CppUnit has been integrated into Eclipse so that Eclipse is aware of the CppUnit. Whereas on the MCATK, we use UnitTest++ and Eclipse is unaware of the unit test framework though our build system is aware of it.

These videos are pretty straight forward and the example project he is working on is easy to follow. If you have been curious about TDD and how it is done then have at look at Brett's videos.

No comments: