How To Install Cxxtestgen?

How To Install Cxxtestgen?

cxxtestgen

lightweight xUnit-like framework for C/C++ applications

Maintainer: Laszlo Boszormenyi (GCS)



Section: devel

Install cxxtestgen

  • Debian apt-get install cxxtest Click to copy
  • Ubuntu apt-get install cxxtest Click to copy
  • Arch Linux pacman -S cxxtest Click to copy
  • Kali Linux apt-get install cxxtest Click to copy
  • Fedora dnf install cxxtest Click to copy
  • Raspbian apt-get install cxxtest Click to copy
  • macOS brew install cxxtest Click to copy

cxxtest

lightweight xUnit-like framework for C/C++ applications

CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit. It provides assertions for checking conditions and classes for defining unit-test cases. 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, which simplifies the creation of test drivers. It includes a script that parses C++ files that define unit tests and then generates a C++ test runner. When compiled, the test runner manages the execution of all unit tests in a flexible manner.

Installation of latest cxxtestgen command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.