How To Install cxxtest on Fedora 36

In this tutorial we learn how to install cxxtest in Fedora 36. cxxtest is A JUnit-like testing framework for C++

Introduction

In this tutorial we learn how to install cxxtest on Fedora 36.

What is cxxtest

CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit. CxxTest is easy to use because it does not require precompiling a CxxTest testing library, it employs no advanced features of C++ (e.g. RTTI) and it supports a very flexible form of test discovery.

We can use yum or dnf to install cxxtest on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cxxtest.

Install cxxtest on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install cxxtest using dnf by running the following command:

sudo dnf -y install cxxtest

Install cxxtest on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cxxtest using yum by running the following command:

sudo yum -y install cxxtest

How To Uninstall cxxtest on Fedora 36

To uninstall only the cxxtest package we can use the following command:

sudo dnf remove cxxtest

cxxtest Package Contents on Fedora 36

/usr/bin/cxxtestgen
/usr/include/cxxtest
/usr/include/cxxtest/Descriptions.cpp
/usr/include/cxxtest/Descriptions.h
/usr/include/cxxtest/DummyDescriptions.cpp
/usr/include/cxxtest/DummyDescriptions.h
/usr/include/cxxtest/ErrorFormatter.h
/usr/include/cxxtest/ErrorPrinter.h
/usr/include/cxxtest/Flags.h
/usr/include/cxxtest/GlobalFixture.cpp
/usr/include/cxxtest/GlobalFixture.h
/usr/include/cxxtest/Gui.h
/usr/include/cxxtest/LinkedList.cpp
/usr/include/cxxtest/LinkedList.h
/usr/include/cxxtest/MSVCErrorPrinter.h
/usr/include/cxxtest/Mock.h
/usr/include/cxxtest/ParenPrinter.h
/usr/include/cxxtest/QtGui.h
/usr/include/cxxtest/RealDescriptions.cpp
/usr/include/cxxtest/RealDescriptions.h
/usr/include/cxxtest/Root.cpp
/usr/include/cxxtest/SelfTest.h
/usr/include/cxxtest/StdHeaders.h
/usr/include/cxxtest/StdTestSuite.h
/usr/include/cxxtest/StdValueTraits.h
/usr/include/cxxtest/StdioFilePrinter.h
/usr/include/cxxtest/StdioPrinter.h
/usr/include/cxxtest/TeeListener.h
/usr/include/cxxtest/TestListener.h
/usr/include/cxxtest/TestMain.h
/usr/include/cxxtest/TestRunner.h
/usr/include/cxxtest/TestSuite.cpp
/usr/include/cxxtest/TestSuite.h
/usr/include/cxxtest/TestTracker.cpp
/usr/include/cxxtest/TestTracker.h
/usr/include/cxxtest/ValueTraits.cpp
/usr/include/cxxtest/ValueTraits.h
/usr/include/cxxtest/Win32Gui.h
/usr/include/cxxtest/X11Gui.h
/usr/include/cxxtest/XUnitPrinter.h
/usr/include/cxxtest/XmlFormatter.h
/usr/include/cxxtest/XmlPrinter.h
/usr/include/cxxtest/YesNoRunner.h
/usr/include/cxxtest/unix.h
/usr/lib/python3.10/site-packages/cxxtest
/usr/lib/python3.10/site-packages/cxxtest-4.4-py3.10.egg-info
/usr/lib/python3.10/site-packages/cxxtest-4.4-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/cxxtest-4.4-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/cxxtest-4.4-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/cxxtest-4.4-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/cxxtest/__init__.py
/usr/lib/python3.10/site-packages/cxxtest/__pycache__
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/__release__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/__release__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxx_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxx_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_fog.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_fog.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_misc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_misc.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtest_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtestgen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cxxtest/__pycache__/cxxtestgen.cpython-310.pyc
/usr/lib/python3.10/site-packages/cxxtest/__release__.py
/usr/lib/python3.10/site-packages/cxxtest/cxx_parser.py
/usr/lib/python3.10/site-packages/cxxtest/cxxtest_fog.py
/usr/lib/python3.10/site-packages/cxxtest/cxxtest_misc.py
/usr/lib/python3.10/site-packages/cxxtest/cxxtest_parser.py
/usr/lib/python3.10/site-packages/cxxtest/cxxtestgen.py
/usr/share/doc/cxxtest
/usr/share/doc/cxxtest/COPYING
/usr/share/doc/cxxtest/README
/usr/share/doc/cxxtest/Versions
/usr/share/man/man1/cxxtestgen.1.gz
/usr/share/pkgconfig/cxxtest.pc

References

Summary

In this tutorial we learn how to install cxxtest on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).