By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

CPPUnit for VS2005

100+
P: 108
Hi guys,
I'd been searching about CPPUnit and I can't find a very good source about it. At first I thought it was a software that I need to install but found out that what I have is the source code. I want to know if i need to build it and how can I use this one. Hope you can help me guys.
Apr 10 '08 #1
Share this Question
Share on Google+
4 Replies


RedSon
Expert 5K+
P: 5,000
Hi guys,
I'd been searching about CPPUnit and I can't find a very good source about it. At first I thought it was a software that I need to install but found out that what I have is the source code. I want to know if i need to build it and how can I use this one. Hope you can help me guys.
The website for CPPUnit describes in detail how to use it. Basically it is a library that you include in your project. You write a test harness to test your code with it.
Apr 10 '08 #2

100+
P: 108
The website for CPPUnit describes in detail how to use it. Basically it is a library that you include in your project. You write a test harness to test your code with it.
Hi. Thanks for anwswering my question. The source and example included are created in VC++6 and when I try to build the CppUnitLibraries, it has errors. I was able to build only up to DSPlugIn but TestPlugInRunner and TestRunner has an error. Can I still use it even the TestPlugInRunner and TestRunner has an error? Do you have a simple apps created in VS2005 which I can use as a base?
Apr 10 '08 #3

RedSon
Expert 5K+
P: 5,000
Hi. Thanks for anwswering my question. The source and example included are created in VC++6 and when I try to build the CppUnitLibraries, it has errors. I was able to build only up to DSPlugIn but TestPlugInRunner and TestRunner has an error. Can I still use it even the TestPlugInRunner and TestRunner has an error? Do you have a simple apps created in VS2005 which I can use as a base?
The libraries are already built. You need to include the proper headers and link against the .dlls. The cookbook is a good place to start for this. Otherwise you can check out the cppunit forums http://sourceforge.net/search/?forum...=visual+studio

Needless to say cppunit may not be the most mature tool out there. You can check out
http://msdn2.microsoft.com/en-us/lib...71(VS.80).aspx
or
http://msdn2.microsoft.com/en-us/magazine/cc136757.aspx
Apr 10 '08 #4

P: 1
You may have encountered the following error

\MsDevCallerListCtrl.cpp(67) : error C3505: '{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}' ...

You may find the version("7.0") and this should be changed into version("8.0")

I hope this help
Aug 15 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.