You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Raffi Enficiaud ef61be4b6d Merge branch 'develop' 4 years ago
build New documentation section about runtime configuration 5 years ago
doc Merge branch 'topic/PR-234-boost-diagnostic_information-rtti' into next-internal 4 years ago
example Adjusting the UBSan options 5 years ago
include/boost/test Merge branch 'topic/PR-234-boost-diagnostic_information-rtti' into next-internal 4 years ago
meta Fix incorrect json. 9 years ago
src Improving global initialization and fixtures 7 years ago
test Fix counting the skipped tests 4 years ago
tools/console_test_runner Fixing the command line parsing 5 years ago
.gitattributes Boost Test Library initial commit 23 years ago
.gitignore build folder 5 years ago
.travis.yml Revert "Building this branch" 5 years ago
CONTRIBUTE.md Update contributions 6 years ago
Jamfile.v2 New documentation section about runtime configuration 5 years ago
LICENSE Added CI framework 5 years ago
README.md Added CI framework 5 years ago
appveyor.yml Added CI framework 5 years ago
index.html Updated copyright message 10 years ago

README.md

boosttest logo

What is Boost.Test?

Boost.Test is a C++03 and C++11/14 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. 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) for faster compilation/build cycles, smaller binaries

Copyright and license

Copyright 2001-2014, Gennadiy Rozental.
Copyright 2013-2018, 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 to get started.

Build Status

Branch Travis Appveyor Coverity Scan codecov.io Deps Docs Tests
master Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix
develop Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix