Difference between revisions of "Cppunit"

From Klaus' wiki
Jump to: navigation, search
(Created page with 'To install cpp unit download the package from sourceforge.org [http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page] in the download section. Ensure that Grap…')
 
 
Line 1: Line 1:
 +
CPPUnit is a C++ unit tester
 +
 +
== Usage ==
 +
 +
 +
 +
== Installation ==
 +
 
To install cpp unit download the package from sourceforge.org [http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page] in the download section.
 
To install cpp unit download the package from sourceforge.org [http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page] in the download section.
  
Line 5: Line 13:
 
Unpack the tar-ball.
 
Unpack the tar-ball.
  
cd cppunit-1.12.1 (if that is the current version number).
+
<source lang="bash">
 +
cd cppunit-1.12.1 # if that is the current version number.
 
sudo ./configure
 
sudo ./configure
sudo make
+
sudo make         # if no errors in configure
# if no errors
+
sudo make install # if no errors in previous make
sudo make install
+
</source>

Latest revision as of 12:43, 5 May 2010

CPPUnit is a C++ unit tester

Usage

Installation

To install cpp unit download the package from sourceforge.org [1] in the download section.

Ensure that Graphviz and phydot is installed (use yum to install them if not).

Unpack the tar-ball.

cd cppunit-1.12.1 # if that is the current version number.
sudo ./configure
sudo make         # if no errors in configure
sudo make install # if no errors in previous make