Go to file
2018-11-11 17:41:48 -05:00
build Addressing #13380: join returning reference to temporary 2018-10-29 10:45:59 +01:00
doc Change log 2018-11-06 08:43:34 +01:00
example fix use of bind1st in example 12 2018-11-11 17:41:48 -05:00
include/boost/test Suppressing the missing-declaration warning 2018-10-30 23:54:09 +01:00
meta Fix incorrect json. 2015-08-12 23:09:32 +01:00
src Improving global initialization and fixtures 2017-06-22 09:20:58 +02:00
test Addressing #13380: join returning reference to temporary 2018-10-29 10:45:59 +01:00
tools/console_test_runner Revert "file headers cleanup" 2015-10-08 03:17:48 +02:00
.gitattributes Boost Test Library initial commit 2001-02-28 21:39:56 +00:00
.gitignore Change log update for 1.67 2017-12-25 16:26:45 +01:00
CONTRIBUTE.md Update contributions 2018-09-02 09:57:17 +02:00
index.html Updated copyright message 2014-03-03 01:16:29 -05:00
Jamfile.v2 copyright update 2010-05-16 04:00:37 +00:00
README.md Contribution instructions, better README.md 2017-12-28 19:22:56 +01:00

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.