🍺 BREW Explorer

← all formulae

cxxtest

brew install cxxtest v4.4_3 LGPL-3.0-only

C++ unit testing framework similar to JUnit, CppUnit and xUnit

15
30-day installs · #7499
43
90-day · #7711
239
365-day · #6930
173
★ GitHub stars · updated 3y ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "python@3.14"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C++ unit testing framework similar to JUnit, CppUnit and xUnit",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:46+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cxxtest",
  "github_default_branch": "master",
  "github_last_commit_at": "2023-08-24T07:42:29Z",
  "github_readme_excerpt": "Overview\n--------\n\nCxxTest is a unit testing framework for C++ that is similar in\nspirit to JUnit, CppUnit, and xUnit. CxxTest is easy to use because\nit does not require precompiling a CxxTest testing library, it\nemploys no advanced features of C++ (e.g. RTTI) and it supports a\nvery flexible form of test discovery.\n\nCxxTest is available under the GNU Lesser General Public Licence (LGPL).\n\nA user guide can be downloaded from http://cxxtest.com.\n\n\nA Simple Example\n----------------\n\n1. Create a test suite header file:\n\nMyTestSuite.h:\n\n  #include \u003ccxxtest/TestSuite.h\u003e\n\n  class MyTestSuite : public CxxTest::TestSuite\n  {\n  public:\n      void testAddition( void )\n      {\n          TS_ASSERT( 1 + 1 \u003e 1 );\n          TS_ASSERT_EQUALS( 1 + 1, 2 );\n      }\n  };\n\n\n2. Generate the tests file:\n\n # cxxtestgen --error-printer -o tests.cpp MyTestSuite.h\n\n3. Compile and run!\n\n  # g++ -o main tests.cpp\n  # ./main\n  Running cxxtest tests (1 test).OK!\n\n",
  "github_repo": "CxxTest/cxxtest",
  "github_stars": 173,
  "github_topics": [],
  "homepage": "https://github.com/CxxTest/cxxtest",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 15,
  "installs_365d": 239,
  "installs_90d": 43,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-3.0-only",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "cxxtest",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7499,
  "rank_365d": 6930,
  "rank_90d": 7711,
  "raw_hash": "da87be1e133dd7d2",
  "recommended_dependencies": [],
  "revision": 3,
  "ruby_source_path": "Formula/c/cxxtest.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "4.4",
  "versioned_formulae": [],
  "why_use_this": null
}