Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Change log

Boost.Test releases:

Boost.Test v3.11 / boost 1.71
New features
Breaking changes
Bugfixes and feature requests
  1. Fixing a small bug on named timers (Windows only). The bug is visible when several test modules are executed in parallel on the same machine.
  2. #GH-209 BOOST_TEST_CHECK can't compare abstract classes using gcc
  3. #GH-218 Default file name (for logger output files)
  4. #PR-219 Commented out unused argument name (stack_decorator::apply)
  5. #PR-224 Add BOOST_HEADER_DEPRECATED to deprecated headers
Boost.Test v3.10 / boost 1.70
New features
Breaking changes
Bugfixes and feature requests
  1. #GH-133 Timeout effect on Windows
  2. #GH-138 expected_failures doesnt work for BOOST_DATA_TEST_CASE
  3. #GH-141 Support for Boost.MP11 and Boost.Hana type lists
  4. #GH-157 Test name should handle const-volatile specifiers
  5. #GH-160 suppress -Wformat-overflow when optimization is enabled on GCC 8.2.0
  6. #GH-174 UBSAN identified a problem at exit time by gcc-8 only
  7. #GH-176 [snippet_dataset1_3] seems to be broken
  8. #GH-177 boost_check_equal-str-test failed on llvm
  9. #GH-180 Unreachable code warning on MSVC builds in test matrix
  10. #GH-181 doc_example22 (and 23) are expected to fail, but do not on clang with release variant builds
  11. #GH-194 master_test_suite declared twice
  12. #GH-196 junit report: test error is also reported as failure
  13. #GH-198 Support BOOST_UNIT_TEST_FRAMEWORK_DYN_LINK et al
  14. #GH-199 Runtime type_mismatch after upgrade to 1.69
  15. #GH-202 boost/timer.hpp is deprecated
  16. #GH-203 Test cases with datasets and fixtures don't support flexible fixture interface
  17. #GH-204 Feature Request: Allow specifying timeouts for test cases with datasests.
  18. #GH-208 Incorrect handling of timed-tests on Windows
  19. #GH-211 windows.h should be lower case
  20. #GH-212 Comment ar parameter of assertion_result to avoid warning
  21. #GH-213 BOOST_SYMBOL_VISIBLE cannot be used for enums with Sun Studio
  22. #PR-171 Correct library name in test runner help screen
  23. #PR-172 Check for non-used variables when NDEBUG is defined
  24. #PR-182 fix use of bind1st in example 12
  25. #PR-183 remove superfluous semicolon in example 04
  26. #PR-184 fix example to use the correct variable and avoid unused variable warning
  27. #PR-185 Added CI framework
  28. #PR-190 fix warning on gcc-7.3 in cygwin claiming master_test_suite is declared differently
  29. #PR-195 Fix MinGW compilation problems
  30. #PR-197 Feature Request: BOOST_TEST_CONTEXT that doesn't require introducing a new scope with braces
  31. #PR-205 Fix MinGW vsnprintf compile errors and warnings
  32. #PR-214 Fixes an issue with sun_cc lacking the __global attribute for enums
  33. #7397 Boost.Test, since boost 1.48 is using the deprecated Boost.Timer class (solved via #GH-202)
  34. #9434 error: namespace boost::timer {} redeclared as different kind of symbol (solved via #GH-202)
  35. #13106 libs/test/tools/console_test_runner does not compile
  36. #13418 Request: allow general typelist types in BOOST_AUTO_TEST_CASE_TEMPLATE()
Boost.Test v3.9 / boost 1.69
New features
Bugfixes and feature requests
  1. #GH-149 Setting color_output=no does not disable the output of color format codes
  2. #GH-150 Some headers fail to compile independently
  3. #GH-156 close_at_tolerance always returns false for comparisons of infinity
  4. #GH-158 Detecting boost_test_print_type does not work when testing a type with an explicit conversion to bool
  5. #GH-163 Significant start slowdown on MSVC x64/Debug after upgrade to v1.68.0
  6. #PR-147 Catch block for boost::exception appears after std::exception in execution_monitor::execute()
  7. #PR-148 Colored output contradiction
  8. #PR-151 Fix warning: BOOST_CLANG is not defined, evaluates to 0
  9. #PR-154 When specifying --color_output=no, don't output color codes
  10. #PR-161 add a self-containment test
  11. #13380 data-driven tests' join operator + corrupts first column (duplicates #12216)
  12. #13625 Boost.test fail to compile with -Werror=missing-declarations on some architectures
  13. #13637 Fix for Bug #12597 causes a problem with BOOST_TEST_CASE
Boost.Test v3.8 / boost 1.68
New features
Breaking changes
Bugfixes and feature requests
  1. #PR-143 Fix exception_api.run-fail.cpp doc example
  2. #PR-145 Fix build of library on recent Cygwin editions
  3. #12095 disabling test with precondition leads to error
  4. #12953 access to master_test_suite().{argc, argv}
  5. #13504 [Boost::Test] short form of catch_system_errors not working
  6. #13525 Boost Test 1.67.0: Compilation error with GCC 4.6.3
  7. #13528 Boost Test 1.67 crashes when the --report_sink command-line parameter is used
Boost.Test v3.7 / boost 1.67
Breaking changes
New features
Bugfixes and feature requests
  1. #PR-112 Deliberate-failure tests shouldn't be optimized
  2. #PR-118 Update VxWorks support
  3. #PR-118 [clang] Fix [-Wc++11-narrowing] error
  4. #PR-121 fix compiler warning
  5. #PR-122 Fix some fallthrough warnings with gcc >= 7
  6. #PR-125 Prevent 2 unused parameter warnings
  7. #PR-127 Silence 'unused variable' warning
  8. #PR-134 Fix stdcerr file creation on shutdown
  9. #PR-136 Change Windows.h include to all-lowercase (MinGW)
  10. #12092 Request: allow std::tuple typelists in BOOST_AUTO_TEST_CASE_TEMPLATE
  11. #12596 Sanitize metacharacters in test names
  12. #12597 Report tests with clashing names
  13. #12969 Problem linking print_helper_t<nullptr_t> under Clang
  14. #13058 errors.hpp in Boost Test requires warning C4946 to be off
  15. #13149 Dependency decorators on parent suites
  16. #13170 BOOST_AUTO_TEST_CASE_TEMPLATE don't want typedef for list
  17. #13181 Boost test can't compare classes which have begin and end but not const_iterator
  18. #13371 Use-after-free with --log_sink=file
  19. #13387 Test header fails to compile
  20. #13398 Log format JUNIT generates invalid XML files
  21. #13407 Boost.Test appears to crash under Cygwin
  22. #13435 BOOST_TEST_GLOBAL_CONFIGURATION (result report shutdown time)
  23. #13443 Boost.Test data driven test fails to compile when number of samples greater than 9
Boost.Test v3.6 / boost 1.65
Breaking changes
New features
Bugfixes and feature requests
  1. #PR-106 replace deprecated binders and adapters, and random_shuffle by more modern equivalents
  2. #5282 Test fixtures do not support virtual inheritance
  3. #5563 using a test macro in a global fixture crashes Boost.Test
  4. #11471 array is a sequence
  5. #11962 BOOST_TEST_MESSAGE in fixture constructor - invalid XML
  6. #12228 Some test headers fail to compile independently
  7. #12631 BOOST_TEST_MESSAGE generates incorrect output when used in BOOST_DATA_TEST_CASE
  8. #13011 BOOST_TEST broken with floating point relational operators
Boost.Test v3.5 / boost 1.64
New features
Bugfixes and feature requests
  1. #PR-107 BOOST_NO_EXCEPTIONS typo making throw_exception unusable under some circumstances
  2. #PR-108 Change capital variable names to lowercase
  3. #11756 boost.Test: non standards compliant use of FE_* macros (unable to compile boost test library on FPU-less arches) (reopened)
  4. #12540 Provide customisation point for printing types in tests
  5. #12712 BOOST_AUTO_TEST_SUITE: Generate unique names by using __COUNTER__
  6. #12748 Boost.Test defines a variable called VERSION
  7. #12778 Boost.Test is broken against left shift operator in certain cases (nullptr issue)
Boost.Test v3.4 / boost 1.63
Breaking changes
  1. Now colons that appear in test case names are replaced with underscores. This affect mainly the template/typed test cases. The change is needed since the colon ':' is interpreted as a filter separators since 1.62, and it is otherwise not possible to execute the tests reported by --list_content. See #12531 for more details.
New features
Bugfixes and feature requests
  1. #PR-103 Syntactic change silences latest gcc warnings
  2. #PR-105 Fix unused parameter warnings/errors with gcc 6
  3. #11756 boost.Test: non standards compliant use of FE_* macros (unable to compile boost test library on FPU-less arches)
  4. #11907 Why does BOOST_TEST() treat std::string as a collection?
  5. #12339 Propose users given way to disable blink in colour output
  6. #12506 typo in Boost.test report_sink description
  7. #12507 Boost.test --report_sink parameter broken
  8. #12530 No way to find out Boost.Test version without running any tests
  9. #12531 --run_test in Boost 1.62 does not accept test names which contain ':'
Boost.Test v3.3 / boost 1.62
New features
Bugfixes and feature requests
  1. #PR-81 Possibility to remove the support of the alternative stack at compilation time. See BOOST_TEST_DISABLE_ALT_STACK for more details.
  2. #8707 Provide Standard xUnit XML Output from Boost Test
  3. #8834 Boost Test should be able to generate report in both XML and HRF together
  4. #11128 [bb10/qnx failures] Build error
  5. #11845 Ability to generate the unique and stable test name for every data set in BOOST_DATA_TEST_CASE
  6. #11859 Wrong handling of "," in Run-Parameters
  7. #12024 boost test depends on nonexisting abi::__cxa_demangle on android
  8. #12093 Boost 1.60.0: Build fails (gcc 4.6)
  9. #12103 Fix for gcc bug 58952 (getchar() is defined as a macro in uClibc)
  10. #12224 Crash on MSVC with RTTI disabled
  11. #12241 Data-driven testing over a range of std::tuple has broken
  12. #12257 Incorrect line numbers in test_units generated from test_case_gen
  13. #12378 Compilation errors with clang 3.8
Boost.Test v3.2 / boost 1.61
New features
Bugfixes and feature requests
  1. #6767 Use of namespace qualifier with floating point exception functions breaks if they are macros
  2. #8905 boost/test/impl/debug.ipp: Ignores return value from WaitForSingleObject
  3. #9443 Runtime parameter Random seed for random order of test cases not respected correctly
  4. #11854 Add fixture support in BOOST_DATA_TEST_CASE
  5. #11887 BOOST_TEST(3u == (std::max)(0u, 3u)) fails
  6. #11889 BOOST_DATA_TEST_CASE fails to compile for 4D and higher dimensional grids
  7. #11983 Boost Test XML Report contains unescaped XML characters
Boost.Test v3.1 / boost 1.60
New major features
Bugfixes and feature requests
  1. #3384 Double-quoted arguments including spaces are divided by Boost.Test.
  2. #3897 Test framework does not include <osreldate.h> before testing __FreeBSD_version (fixed in 1.59)
  3. #6032 Program options within init_unit_test_suite are incorrect when using path and whitespaces
  4. #6859 Boost.Test eats away last empty command line parameter
  5. #7257 Boost.Test alters and does not restore ostream precision after any Test macro (fixed in 1.59)
  6. #9228 Patch to make Boost.Test work with RTTI disabled (fixed in 1.59)
  7. #10317 boost::test corrupts contents of argv if a paramter contains whitespace
  8. #11279 invalid parameters should be reported
  9. #11478 Boost Test Exception Assert Failure has poor message
  10. #11571 Can't compile BOOST_TEST( ..., per_element() ) comparison of vector<string>
  11. #11623 Clang rejects some simple BOOST_TEST() statements
  12. #11624 BOOST_TEST( 0.0 == 0.0 ) fails under C++11 (GCC and Clang)
  13. #11625 BOOST_TEST( ..., per_element() ) erroneously requires collections are comparable
Boost.Test v3 / boost 1.59
New major features
Bugfixes and feature requests
  1. #2018 Error in the documentation chapter "Runtime parameters reference"
  2. #2450 equations in Floating-point comparison algorithms html are not rendered properly
  3. #2600 Unit Test Framework - missed documentation
  4. #2717 BOOST_<level>_EQUAL_COLLECTION docs typo
  5. #2759 Typos in test new-year-resolution.html
  6. #3182 _CrtSetReportFile can be used to redirect memory leaks report
  7. #3316 Access violation when trying to log from init_tests_func
  8. #3392 Boost::Test: Wrong contents for documentation of the BOOST_TEST_PASSPOINT macro
  9. #3402 Invalid define name in docummentation (duplicates ##2717)
  10. #3445 incorreect link in the docs
  11. #3463 GT is GREAT!
  12. #3542 Bug in documentation of detect_memory_leak parameter (duplicates ##2018)
  13. #3481 Boost Testing doesn't work under Sun Solaris Containers (duplicates ##3592)
  14. #3495 Boost::Test enters endless loop when running in vserver environment (duplicates ##3592)
  15. #3592 under_debugger() goes into infinite loop
  16. #3595 Typo (duplicates ##2759)
  17. #3623 Boost Test Typo (duplicates ##2759)
  18. #3664 SIGCHLD always considered fatal error
  19. #3784 Documentation errors in Execution Monitor Compilation
  20. #3785 Documentation errors in Program Execution Monitor implementation
  21. #3811 global namespace polution
  22. #3834 doc: probably incorrect HTML rendering (duplicates ##2450)
  23. #3896 erroneous documentation in boost test commandline parameter description
  24. #3932 Error in BOOST_<level>_GT description (duplicates ##3463)
  25. #3938 doc: incorrect macro name (duplicates ##2759)
  26. #3964 Documentation for BOOST_<level>_CLOSE_FRACTION is incorrect
  27. #3978 Failed to completely redirect TestLog to file, bugfix appended
  28. #3979 <boost/test/exception_safety.hpp> requires additional includes
  29. #4161 spelling mistakes...
  30. #4275 Documentation error Boost.Test (duplicates ##2717)
  31. #4389 Enable boost_test to run specific tests with any required dependent tests.
  32. #4434 BOOST_AUTO_EST_CASE typos in docs
  33. #4587 Broken link in website
  34. #4806 Invalid link (examples not showing up in documentation)
  35. #4911 ENH: boost.test output the exception real type name.
  36. #4923 Missing semicolon in documentation example
  37. #4924 Minor typo in Boost::Test docs
  38. #4982 Boost.Test has misspelled Gennadiy Rozental e-mail address
  39. #5008 Boost.Test does not do checkpointing of entry/exit of test cases
  40. #5036 Boost.Test VC memory leak report should direct to stderr
  41. #5262 Run tests by name utility doesn't support negation
  42. #5374 Errors from Boost.Test are no more shown in the Error list in VS2010
  43. #5412 XML formatter in test library processes strings with subsequences ]]> incorrectly
  44. #5563 using a test macro in a global fixture crashes Boost.Test
  45. #5582 There is a memory leak in the BOOST_AUTO_TEST_CASE_TEMPLATE
  46. #5599 boost::test documentation gives poor instruction
  47. #5718 broken link to unit testing framework examples
  48. #5729 Missing static_cast in fpt_limits
  49. #5870 The warning stack is not maintained
  50. #5972 Support program option to only dump the test-tree in text to output stream
  51. #6002 Failed to completely redirect TestLog to file (duplicates)
  52. #6071 Boost Test (Boost 1.46.0) GCC 4.6.1 error: ambiguous overload for ‘operator[]’
  53. #6074 warnings-as-errors not usable with Boost.test in release mode
  54. #6161 SunOS: bad putenv declaration (duplicates #6766)
  55. #6766 incorrect declaration for putenv in config.hpp
  56. #6712 Eliminate warnings with GCC
  57. #6748 Link in the documentation points to wrong page
  58. #7046 Output full error message, not just 512 chars
  59. #7136 Correct documentation for BOOST_<level>_CLOSE_FRACTION is not reflected into released documents
  60. #7410 Test Units (Cases and Suites) in Boost.Test do not capture __FILE__ and __LINE__ at declaration point making it impossible to provide source file linking using external test management tools
  61. #7894 Boost.Test documentation contains no linking instructions
  62. #8201 Broken link in document
  63. #8272 BOOST_REQUIRE_CLOSE fails to compile with boost::multiprecision::cpp_dec_float_100 (duplicates ##11054)
  64. #8467 Incorrect link in document (duplicates ##6748)
  65. #8679 Boost.Test pollutes boost namespace with it's own enable_if/disable_if templates
  66. #8862 Boost.Test typo in documentation
  67. #8895 English error in test collection comparison
  68. #9179 Documentation: broken link (unable to find const_string.hpp/const_string_test.cpp)
  69. #9272 boost::test BOOST_<level>_GT documentation bug (duplicates ##3463)
  70. #9390 Incomplete BOOST_TEST_DONT_PRINT_LOG_VALUE
  71. #9409 Some source code examples are missing
  72. #9537 const_string_test example fails
  73. #9539 Floating-point comparison algorithms aren't formatted correctly
  74. #9581 Squassabia reference link gives 404 not found
  75. #9960 Warnings on Clang
  76. #10256 [boost test] - issue: sigaltstack
  77. #10318 Minor documentation fix
  78. #10394 Broken links in Boost Test documentation
  79. #10888 Assertion failures don't show up in the errors pane in VS 2010, VS 2012 or VS 2013 (duplicates)
  80. #11054 Floating-point comparison of multiprecision values fails if expression template is on
  81. #11347 DS identifier causes test failures in doc/examples/dataset_example*.cpp
  82. #11358 Boost.Test v3 warning could helpfully be suppressed.
  83. #11359 BOOST_CHECK_EQUAL_COLLECTIONS: can't control output operator (duplicates #9390)
  84. #11425 use-of-uninitialized-value (obsolete)

PrevUpHomeNext