cppunit

How to use external cpp projects in a cpp project in Visual Studio 2008

Hi guys i m trying to make small test driven example by using cppunit. So i have 2 project which are test and normal library project. Whatever i do, i cannot be successfull. i got alltime LNK Error. Any help will be apreciated. ...

Are there any extensions for either Boost.Test or cppUnit which could provide HTML outputs etc?

Hi, I am involved in development of unit level test cases for our project. There are both managed code and native C++ code. After some study I chose NUnit for managed code. I would either use Gallio or FireBenchmarks which is an extension to provide HTML outputs and charts etc. Do we have extensions like this for cppUnit or Boost.Tes...

C++ CppUnitTest (CPPUNIT_ASSERT_EQUAL)

I'm trying to do some CppUnit testing on my program using Ubuntu NetBeans but I keep encountering similar errors (invalid use of void expression). I'm not sure what went wrong. Any help will be greatly appreciated. The error goes like this: g++ -c -O2 -I/usr/include/cppunit -MMD -MP -MF build/Release/GNU-Linux-x86/AssignmentTest.o.d...

C++ CppUnit Test (CPPUNIT_ASSERT)

I'm trying to do up a screen scraping assignment. My cpp works, but I don't know how to integrate my unit testing. I tried to do a bool check unit test for the file validity but it's giving me this error: error: cannot call member function 'bool ScreenScrape::getFile()' without object screenscrape.cpp: #include "screenscrape.h" usin...

Data Driven Testing with cppunit

I'd like to make some data-driven tests using cppunit. I thought I saw a while ago that a version of RowTest was ported to cppunit, but now I can't seem to find it anywhere. What are some ways to do data-driven tests using cppunit? ...

CppUnit (or C++ unit tests in general) in Xcode

I've written some ObjC unit tests for use with the OCUnit support in Xcode. Now I would like to do the same for some of the C++ code I'm about to write (a separate static library). Is there any support for e.g. CppUnit (or some other C++ test framework) in Xcode? When I write support, I mean I want to run the tests and display the resul...