C++ Unit Testing Tools

View 69 business solutions

Browse free open source C++ Unit Testing Tools and projects below. Use the toggles on the left to filter open source C++ Unit Testing Tools by OS, license, language, programming language, and project status.

  • Simplify IT and security with a single endpoint management platform Icon
    Simplify IT and security with a single endpoint management platform

    Automate the hardest parts of IT

    NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
    Learn More
  • No-Nonsense Code-to-Cloud Security for Devs | Aikido Icon
    No-Nonsense Code-to-Cloud Security for Devs | Aikido

    Connect your GitHub, GitLab, Bitbucket, or Azure DevOps account to start scanning your repos for free.

    Aikido provides a unified security platform for developers, combining 12 powerful scans like SAST, DAST, and CSPM. AI-driven AutoFix and AutoTriage streamline vulnerability management, while runtime protection blocks attacks.
    Start for Free
  • 1

    Cutter

    A unit testing framework for C and C++

    Cutter is a Unit Testing Framework for C and C++. Interface of Cutter is easy to write and easy to debug your code.
    Leader badge
    Downloads: 32,794 This Week
    Last Update:
    See Project
  • 2
    Catch2

    Catch2

    A modern, C++-native, test framework for unit-tests, TDD and BDD

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch). Catch2 is mainly a unit testing framework for C++, but it also provides basic micro-benchmarking features and simple BDD macros. Catch2's main advantage is that using it is both simple and natural. Test names do not have to be valid identifiers, assertions look like normal C++ boolean expressions, and sections provide a nice and local way to share set-up and tear-down code in tests. You are on the devel branch, where the v3 version is being developed. v3 brings a bunch of significant changes, the big one being that Catch2 is no longer a single-header library. Catch2 now behaves as a normal library, with multiple headers and separately compiled implementation.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 3
    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.
    Leader badge
    Downloads: 52 This Week
    Last Update:
    See Project
  • 4
    PLEASE NOTE that CppTest is in the process of migrating to GitHub: https://github.com/cpptest/cpptest CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability. Several output formats are supported and new ones are easily added. PLEASE NOTE that CppTest is in the process of migrating to GitHub: https://github.com/cpptest/cpptest
    Leader badge
    Downloads: 18 This Week
    Last Update:
    See Project
  • Get Avast Free Antivirus | Your top-rated shield against malware and online scams Icon
    Get Avast Free Antivirus | Your top-rated shield against malware and online scams

    Boost your PC's defense against cyberthreats and web-based scams.

    Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
    Free Download
  • 5
    NUnit brings xUnit-style unit-testing to all .Net languages. Although we no longer host our development on Sourceforge, our latest releases are always available here, as well as at our current development site at http://launchpad.net/nunitv2 Please report bugs at http://bugs.launchpad.net/nunitv2 You can browse or download the current source code at http://code.launchpad.net/nunitv2
    Downloads: 12 This Week
    Last Update:
    See Project
  • 6
    cocoyaxi

    cocoyaxi

    A go-style coroutine library in C++11 and more

    cocoyaxi (co for short), is an elegant and efficient cross-platform C++ base library. It contains a series of high-quality base components, such as a go-style coroutine, coroutine-based network programming framework, command line, and config file parser, high-performance log library, unit testing framework, JSON library, etc. co has implemented a go-style coroutine, which has the following features. Multi-thread scheduling, the default number of threads is the number of system CPU cores. Shared stack, coroutines in the same thread share several stacks (the default size is 1MB), and the memory usage is low. Simple test on Linux shows that 10 millions of coroutines only take 2.8G of memory (for reference only). There is a flat relationship between coroutines, and new coroutines can be created from anywhere (including in coroutines). Support system API hook (Windows/Linux/Mac), you can directly use third-party network library in coroutine.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 7
    CuTest lets you write unit tests for your C code. You should use it because: (1) It has the cutest name, (2) It looks and feels like JUnit, (3) It is cross-platform, (4) It ships in a single .c and .h file for ease of deployment.
    Leader badge
    Downloads: 4 This Week
    Last Update:
    See Project
  • 8

    CppUTest (Moved!)

    Moved to: http://cpputest.github.com/cpputest/

    This project has been moved to github. Please check the current project page at: http://cpputest.github.com/cpputest/ ---------------------------------------------------------- CppUTest is a unit testing framework. Its main goal is to provide a simple unit testing framework that can also work well with embedded systems. It also provides support for working with C.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 9
    mockpp is a platform independent unit testing framework for C++. Its goal is to facilitate developing unit tests and integration tests in the spirit of "Mock Objects for Java" and jMock. It is tested with CppUnit but should work with other frameworks.
    Downloads: 2 This Week
    Last Update:
    See Project
  • MongoDB Atlas | Run databases anywhere Icon
    MongoDB Atlas | Run databases anywhere

    Ensure the availability of your data with coverage across AWS, Azure, and GCP on MongoDB Atlas—the multi-cloud database for every enterprise.

    MongoDB Atlas allows you to build and run modern applications across 125+ cloud regions, spanning AWS, Azure, and Google Cloud. Its multi-cloud clusters enable seamless data distribution and automated failover between cloud providers, ensuring high availability and flexibility without added complexity.
    Learn More
  • 10
    A unit testing framework, that supports multiple programming languages through back-ends and allows multiple interfaces through front-ends.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 11
    A VB/COM implementation of the JUnit unit testing framework.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 12
    EasyUnit is a unit testing framework for C++ and EC++ that intends to ease this process. It is based on CppUnitLite administration-free concept with the following additions: fixtures support, customizable test runner and results printer.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    This is yet another unit testing framework for C++. However, QUnit feels like 50 lines of code, integrates nicely into your development environment, and contains no bells and whistles. QUnit is more like an idiom, just implement when you need it.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    A simple C++ unit testing framework contained within a single header file. Minimal code is required for each new test.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    cfix is a xUnit unit testing framework for C and C++, specialized for Win32 and NT kernel mode. The aim of the framework is to make the development of test suites as easy as possible while fully exploiting the services provided by Windows.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    cipra Unit Testing Framework

    cipra Unit Testing Framework

    C++11 unit testing framework based on Perl's Test::More module.

    cipra is a simple, TAP-compatible Unit Testing Framework for C++. cipra is Free and Open Source Software, released under a 3-clause BSD-style license. It's written in 100% standard C++11 and is only a couple header files, making it easy to include in your C++11 project. TAP, the Test Anything Protocol, is a standard output format for software unit test frameworks that was originally designed for Perl, but can serve other languages. It has a rich number of tools ("harnesses") that parse TAP formatted output and do useful things with it. TAP, however, is equally human-readable. The name cipra (pronounced /ˈʃi.pɾaː/ "SHEE-prah") comes from the lojban phrase "lo cipra", which means "the test". It is properly written with an initial minuscule 'c', even when at the start of a sentence.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17

    cppunit-msvc

    C++ Unit Testing Framework for MS Visual C++

    A port of the well-known C++ Unit Testing Framework on Visual Studio with a binary installers for the library. Projects using CppUnit for their tests only need to install the binary version. Download the binary installers from the "Files" section.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    The Austria C++ library provides a host of essential C++ tools including but generic factories, smart pointers, logging, unit testing framework and parameters/configuration system. The library will work with both Linux/GCC and win32/MVC++.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    A cross-platform unit testing framework for C++.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20

    FRUCTOSE

    C++ unit testing framework

    C++ unit testing framework, very cutdown compared to CppUnit but very simple and implemented entirely using header files.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    A simple, robust, easy to use C++ unit testing framework. The output is being integrated with doxygen for automatic results reporting as well.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    A C++ unit testing framework, in the style of CxxUnit, for Symbian OS. (For more information, forums and mailing lists please visit the project Home Page http://symbianosunit.sourceforge.net)
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    This is a customizing of the TUT framework i.e. C++ Unit Testing framework (http://tut-framework.sourceforge.net/) to output TeamCity 5.x service messages to report unit testing results
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    C++ unit testing framework for QNX4 Watcom C/C++ 10.x. WppUnit supports automatic test registration, watcom-styled error reports, exception handling, and has no prerequisites for installation and running in QNX4.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    Base C/C++ library providing unit testing framework with integrated memory leak and buffer overrun detection.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • Next
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.