文件下载:1.cppunit-1.10.2.tar.gz
http://sourceforge.net/projects/cppunit/2.CppUnit Visual Studio Application Wizard
http://bbs.51testing.com/viewthr ... p;highlight=cppunit使用方法:
1.解压缩cppunit-1.10.2.tar.gz文件。
2.在vc6.0 设置:Tools->Options->Directories页面,"include files"添加$CppUnitPath$/include目录,"Liberay files"添加$CppUnitPath$/lib目录
Tools->Customize->Add-ins and Macro files中点击browse,并选择lib/testrunnerd.dll
3.将CppUnit Visual Studio Application Wizard解压缩得到一个扩展名为.awx的向导文件,将CppUnitTester.awx拷贝到VC的Template目录下。一般位置为Microsoft Visual Studio\Common\MSDev98\Template。然后重新启动vc,在new project下就可以看到cppunit的工程创建向导了。