Skip navigation.

XUNIT

Another one of the Xunit tools

xUNIT
DBunit seems interesting to me, I have elsewhere spoken of the early testing in development (both function and other aspects of the systems - I am trying to avoid the non-functional term as advised to Tom Gilb as it is too generic and inaccurate a term), I was pleased to see a very good talk on this at the STARWest 2005 conference, it was a good technical talk - even if it was to a minimal but grateful audience

PyUnitOSX: PyUnit for OS X

python | xUNIT
PyUnitOSX is a build of the PyUnit Python testing framework — a Python language version of JUnit. JUnit was written by Kent Beck and Erich Gamma, and is, in turn, a Java version of Kent Beck's Smalltalk testing framework. Each is the de facto standard unit testing framework for its respective language, and therefore both are a strong basis for an effective and elegant Python framework.

Comparing C++ unit testing frameworks

C++ | xUNIT
Noel Llopis writes on the TDD mailing list:
 
I just had to choose a unit-testing framework for a new project at work, so
I went ahead and evaluated some of the major contenders for C++: CppUnit,
Boost.Test, CppUnitLite, NanoCppUnit, Unit++, and CxxUnit.
 
If anybody is interested in checking it out, I wrote a comparison of the
frameworks and my conclusions here:
http://www.gamesfromwithin.com/articles/0412/000061.html
 
I welcome any comments either through the list, private email, or directly
in the blog.
Cheers.
 

--Noel
Games from Within
http://www.gamesfromwithin.com
 
 
I haven't read it all through yet, but it seems pretty comprehensive and interesting.
 
The big winner in this article is a total surprise: CxxTest. What's the big surprise? It actually uses PERL under the convers to provide an easy to use syntax that is used as the basis for generating C++ test classes on your code. Pretty cool, actually. Here's a part on this cool finding from the article:

"After looking into a framework that tried to be different from XUnit (Unit++), I wasn't particularly looking forward to evaluating possibly the most wacky one of them all, CxxTest. I had never heard of it until a few days ago, but I knew that it required using Perl along the way to generate some C++ code. My spider senses were tingling.

Exploring the C++ Unit Testing Framework Jungle

C++ | xUNIT
"I'm now in the situation that I need to choose a unit-testing framework to roll out for my team at work. So, before I get to talk about how to use test-driven development in games, or the value of unit testing, or anything like that, we dive deep into a detailed comparison of existing C++ unit-testing frameworks. Hang on tight. It's going to be a long and bumpy ride with a plot twist at the end."