Boost.Test Alternatives - C++ Debug | LibHunt


Code Quality Rank: L4

Programming language: C++

License: gtkbook License

Boost.Test alternatives and similar libraries

Based on the "Debug" category.
Alternatively, view Boost.Test alternatives based on common mentions on social networks and blogs.

  • Google Test

    GoogleTest - Google Testing and Mocking Framework

    google logo

  • Catch

    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)

    catchorg logo

  • The Code Monster Manual Vol. 1 Logo

  • google logo

  • doctest

    The fastest feature-rich C++11/14/17/20/23 single-header testing framework

    doctest logo

  • ThrowTheSwitch logo

  • bombela logo

  • Remotery

    Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer

    Celtoys logo

  • GDBFrontend

    ☕ GDBFrontend is an easy, flexible and extensible gui debugger.

    rohanrhu logo

  • yse logo

  • CppUTest

    CppUTest unit testing and mocking framework for C/C++

    cpputest logo

  • VLD

    Visual Leak Detector for Visual C++ 2008-2015

    KindDragon logo

  • fff

    A testing micro framework for creating function test doubles

    meekrosoft logo

  • utest.h

    🧪 single header unit testing framework for C and C++

    sheredom logo

  • Celero

    C++ Benchmark Authoring Library/Framework

    DigitalInBlue logo

  • UnitTest++

    A lightweight unit testing framework for C++

    unittest-cpp logo

  • minUnit

    Minimal unit testing framework for C

    siu logo

  • hayai

    DISCONTINUED. C++ benchmarking framework

  • zorgnax logo

  • ig-debugheap

    DISCONTINUED. Debug heap useful for tracking down memory errors.

    deplinenoise logo

  • Nonius

    A C++ micro-benchmarking framework

    rmartinho logo

  • EddyPronk logo

  • Google Mock

    A library for writing and using C++ mock classes. [BSD]

  • oa-333 logo

  • CUTE

    C++ Unit Testing Easier. [LGPL3]

  • CMocka

    unit testing framework for C with support for mock objects. [Apache2]

  • Mockator

    Eclipse CDT plug-in for C++ Seams and Mock Objects.

  • MemTrack

    Tracking memory allocations in C++.

  • CTest

    The CMake test driver program. [BSD]

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of Boost.Test or a related project?

Add another 'Debug' Library

README

[boosttest logo](doc/html/images/boost.test.logo.png)

What is Boost.Test?

Boost.Test is a C++03/11/14/17 unit testing library, available on a wide range of platforms and compilers.

The library is part of Boost. The latest release of the library is available from the boost web site.

Full instructions for use of this library can be accessed from http://www.boost.org/doc/libs/release/libs/test/

Key features

  • Easy to get started with:
    1. download and deflate the latest boost archive
    2. create a test module with this (header version): #define BOOST_TEST_MODULE your_test_module #include <boost/test/included/unit_test.hpp>
    3. Write your first test case: BOOST_AUTO_TEST_CASE( your_test_case ) { std::vector<int> a{1, 2}; std::vector<int> b{1, 2}; BOOST_TEST( a == b ); }
    4. build and run
    5. done
  • powerful and unique test assertion macro BOOST_TEST, that understands floating points, collections, strings... and uses appropriate comparison paradigm
  • self-registering test cases, organize cases in test suites, apply fixtures on test cases, suites or globally
  • provide assertion context for advanced diagnostic on failure
  • powerful and extensible dataset tests
  • add decoration to test cases and suites for advanced description, group/label, and dependencies
  • powerful command line options and test case filters
  • extensible logging, XML and JUNIT outputs for third-party tools (eg. cont. integration)
  • various usage (shared/static library/header only) for faster integration and/or compilation/build cycles, smaller binaries

Copyright and license

Copyright 2001-2014, Gennadiy Rozental. Copyright 2013-2020, Boost.Test team.

Distributed under the Boost Software License, Version 1.0. (Get a copy at www.boost.org/LICENSE_1_0.txt)

Contribute

Please read [this document](CONTRIBUTE.md) to get started.

Build Status

Boost.Test uses mostly the facility provided by our wonderful Boost testers (column Tests below).

Branch Deps Docs Tests
master Deps Documentation Enter the Matrix
develop Deps Documentation Enter the Matrix


*Note that all licence references and agreements mentioned in the Boost.Test README section above are relevant to that project's source code only.

Do not miss the trending, libraries, news and articles with our weekly report.