Am I suppose to derive my test class from TestCase or TestFixture? When I derive from TestFixture, CPPUNIT_ASSERT doesn't work, but works fine when I derive from TestCase.
Also, what's the proper way to link to the libraries? I installed cppunit with --prefix=/usr/local. I'm using gcc 3.0.4 on a Linux system. Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Am I suppose to derive my test class from TestCase or TestFixture? When I derive from TestFixture, CPPUNIT_ASSERT doesn't work, but works fine when I derive from TestCase.
Also, what's the proper way to link to the libraries? I installed cppunit with --prefix=/usr/local. I'm using gcc 3.0.4 on a Linux system. Thanks for any help.
Check the NEWS file to be sure. In the lastest version of CppUnit (1.9.something), TestFixture is the base class for your fixture.
Baptiste.