mirror of
https://github.com/boostorg/test.git
synced 2026-01-24 18:32:30 +00:00
5a052d169ead66af9997eb04321a449dd2c6dd7f
* develop: (41 commits) Change log Fix non-initialized variable causing crash on Cygwin Change log prevent 2 unused parameter warnings Change log Fix missing includes Change log Updating the doc Adding the possibility to instanciate a template test case with tuples Some doxygen fixes Change log Ticket 13170: BOOST_AUTO_TEST_CASE_TEMPLATE without a typedef Fix JUNIT default log level Fix documentation list Documentation years update Addressing build failures on mingw/windows Change log and doc update Avoiding duplicate test cases in template and param test cases Check for clashing names in adding test units Change log ...
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:
- download and deflate the latest boost archive
- create a test module with this (header version):
#define BOOST_TEST_MODULE your_test_module #include <boost/test/included/unit_test.hpp> - 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.
Languages
C++
99%
CMake
0.9%
