It seems to be mainly tailored to .net code.
+1
A:
Only managed C++ (/clr:safe
): Unit Tests and C++
You could use WinUnit (if you are not already): Simplified Unit Testing for Native C++ Applications
Mitch Wheat
2010-10-11 01:22:53
I'm familiar with WinUnit but was just hoping the slick in-built features would work with native code.
Dave Mooney
2010-10-11 01:29:06
+1
A:
You can't get the slick attribute-driven features of managed test frameworks with native unit test frameworks. If you want a graphical runner which lets you select individual tests or fixtures within Visual Studio, grab the excellent, free Visual Assert. It supports both the cfix framework and (via cfix) a WinUnit compatibility mode. I've been happily using it for several months now in both 2008 and 2010.
Andy Dent
2010-10-14 08:14:52