TestCase or TestFixture?

2002-07-15
2002-08-31
  • Jiann-Ming Su

    Jiann-Ming Su - 2002-07-15

    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.

     
    • Baptiste Lepilleur

      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.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks