cxxtest
« Back to VersTracker
Description:
C++ unit testing framework similar to JUnit, CppUnit and xUnit
Type: Formula  |  Latest Version: 4.4@3  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing c++ unit-testing development framework
Install: brew install cxxtest
About:
CxxTest is a unit testing framework for C++ that does not require RTTI or excessive libraries. It uses a Python script to parse test headers and generate test runners, making it easy to integrate into build systems. It provides a JUnit-like assertion syntax and is ideal for projects needing lightweight, header-only testing capabilities.
Key Features:
  • No external libraries required (header-only)
  • Python-based test runner generation
  • JUnit-like assertion syntax
  • Integration with standard build systems like Make and CMake
Use Cases:
  • Unit testing C++ applications in resource-constrained environments
  • Integrating testing into legacy C++ codebases without heavy dependencies
Alternatives:
  • Google Test – More feature-rich but requires building a separate library
  • Catch2 – Header-only with a modern DSL, but uses C++11+ features
License: LGPL-3.0-only
Dependencies: python@3.14
Bottles available for: all
Version History
Detected Version Rev Change Commit
Oct 10, 2024 3:13am 3 VERSION_BUMP fa124e20
Oct 9, 2024 10:12pm 3 VERSION_BUMP 65ad5283