Se connecter
Accueil Joomla
Accueil
Accueil
Plan du site
Mediawiki
Install MediaWiki
Astuces
Mes Extensions
Aide
CppUnit
Sommaire
1
Installation
1.1
Sous Ubuntu 18.4
2
Liens Externes
Installation
Sous Ubuntu 18.4
installer les packages adéquats.
#installer le packet cppunit
sudo
apt-get install
libcppunit-dev
A noter que la dernière version ne contient pas de fichier cppunit.m4 pour autotools.
Il faut adapter le fichier
configure.ac
#remplacer la ligne
AM_PATH_CPPUNIT
(
1.13.2
)
#par la ligne
PKG_CHECK_MODULES
(
CPPUNIT, cppunit
>
= 1.13.2
)
installer l'example avec git (issu de issu de
[CPPUNIT_EXAMPLE]
[CPPUNIT_EXAMPLE]
)
#example
git clone
https:
//
github.com
/
JLTRY
/
cppunit-money.git
compiler et lancer l'example
aclocal
-I
/
usr
/
share
/
aclocal
autoconf
automake
-a
.
/
configure
make
check
Liens Externes
[googletest] script to convert cppunit to gtest - Jorge Costa - com.googlegroups.googletestframework - MarkMail
automake
c++ - CppUnit - Registry multiple suites to be runned in a single main function - Stack Overflow
cppunit
CppUnit - C++ port of JUnit / Discussion / Help:how to get test name in setUp() method
CppUnit - The Unit Testing Library
CppUnit: C++ unit test framework
Catégorie
:
Langages