TWiki home TWiki > Simulation > IPv6Suite > Main > InstallingCPPUnit TWiki webs:
Main | TWiki | Know | Sandbox
Simulation . { Changes | Index | Search | Go }

Installing CPPUnit

CPPUnit serves as a basic automated regression and integration testing suite so that extensive changes to core classes or new classes that break existing program logic can be detected. It is recommended that you write unit tests if you will develop core functionality that can be used/extended by others or find irritating bugs that should not crop up again in future. Turn on unit tests in IPv6Suite by toggling BUILD_UNITTESTS to on in ccmake.

  1. Download the latest rpm package from http://sourceforge.net/projects/cppunit (Tested with version 1.8)
  2. As root install it with rpm -Uvh cppunit-x.x.x.rpm or rebuild from source (necessary if you use different compilers/versions of compilers e.g. gcc 3.x by rpm -ta cppunit-x.x.x.tar.gz).
All Units Tests in IPv6Suite are conditionally compiled when macro USE_CPPUNIT is defined.

Topic InstallingCPPUnit . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More }
Revision r1.2 - 11 May 2005 - 11:57 GMT - AhmetSekercioglu
Parents: WebHome > IPv6Suite > Main
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.