cpputest
« Back to VersTracker
Description:
C /C++ based unit xUnit test framework
Type: Formula  |  Latest Version: 4.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing cpp unit-testing tdd embedded xunit
Install: brew install cpputest
About:
CppUTest is a C/C++ based unit testing framework designed for embedded systems and general-purpose development. It provides a xUnit-style architecture with robust memory leak detection and simple, portable syntax. The framework integrates with build systems like CMake and Make, enabling seamless test-driven development workflows.
Key Features:
  • xUnit-style testing architecture
  • Integrated memory leak detection
  • Portable across platforms (Linux, Windows, macOS)
  • Extensible with custom plugins
  • Zero-dependency design
Use Cases:
  • Unit testing embedded C/C++ applications
  • Test-driven development (TDD) for firmware
  • Continuous integration pipelines for C/C++ projects
  • Legacy code refactoring and verification
Alternatives:
  • Google Test – More feature-rich but heavier, better for large-scale applications
  • Catch2 – Header-only with modern C++ features, simpler syntax
  • Unity – Ultra-lightweight, ideal for resource-constrained embedded systems
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 6:55am 0 VERSION_BUMP ac8d6a8e
Dec 4, 2024 11:31am 0 VERSION_BUMP fc1b33c5