Monday, May 12, 2008

unit testing c++




Building projects with Ruby on Rails made me a TDD (Test Driven Development) convert, and now that I'm working with C++, I just need to be doing unit testing with C++. Marsyas, the library that I'm working with has regression testing but doesn't yet have unit testing. I'm evaulating different testing frameworks.

A great resource that evaulates all the C++ testing frameworks is Exploring the C++ Unit Testing Framework Jungle by Noel Llopis. It's a well written article that goes into great depth about the different frameworks. After reading it, I am leaning toward CxxTest.

Dr. Dobbs Journal has an excellent article about CxxTest.

Here is a page listing all the C/C++ testing frameworks.

CxxTest
CppTest
TUT
CppUnit
cutee