]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | [/ |
2 | / Copyright (c) 2013 Boost.Test contributors | |
3 | / | |
4 | / Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | /] | |
7 | ||
8 | [section Change log] | |
9 | ||
10 | [h4 Boost.Test v3.3 / boost 1.62] | |
11 | ||
12 | [h5 New features] | |
13 | * Boost.Test now treats each sample of a dataset test case as being a uniquely named test case under the same test suite, | |
14 | which enables the (re)run of one particular sample from the command line interface. See | |
15 | [link boost_test.tests_organization.test_cases.test_case_generation.datasets_auto_registration.samples_and_test_tree here] | |
16 | for more details, | |
17 | * Boost.Test learned to interpret ':' as a separator for the test filters: the string passed to | |
18 | [link boost_test.utf_reference.rt_param_reference.run_test `--run_test`] | |
19 | generates tokens as if `--run_test` has been repeated, which enables the set up of several test filters | |
20 | through the associated environment variable `BOOST_TEST_RUN_FILTERS` | |
21 | * the __UTF__ learned to log the messages in the xUnit/JUNIT log format. | |
22 | See [link boost_test.test_output.log_formats.log_junit_format here] for more details. | |
23 | * the __UTF__ learned to have several loggers at the same time, each of which with their own log level and log sink. | |
24 | See the associated command line switch [link boost_test.utf_reference.rt_param_reference.logger `--logger`] and | |
25 | corresponding environment variable `BOOST_TEST_LOGGER` for more details. | |
26 | * loggers are now able to indicate their default output stream and log level. | |
27 | ||
28 | [h5 Bugfixes and feature requests] | |
29 | # [pull_request 81] Possibility to remove the support of the alternative stack at compilation time. See | |
30 | [link boost_test.utf_reference.link_references.config_disable_alt_stack `BOOST_TEST_DISABLE_ALT_STACK`] for more details. | |
31 | # [ticket 8707] Provide Standard xUnit XML Output from Boost Test | |
32 | # [ticket 8834] Boost Test should be able to generate report in both XML and HRF together | |
33 | # [ticket 11128] `[bb10/qnx failures]` Build error | |
34 | # [ticket 11845] Ability to generate the unique and stable test name for every data set in `BOOST_DATA_TEST_CASE` | |
35 | # [ticket 11859] Wrong handling of "," in Run-Parameters | |
36 | # [ticket 12024] boost test depends on nonexisting `abi::__cxa_demangle` on android | |
37 | # [ticket 12093] Boost 1.60.0: Build fails (gcc 4.6) | |
38 | # [ticket 12103] Fix for gcc bug 58952 (`getchar()` is defined as a macro in `uClibc`) | |
39 | # [ticket 12224] Crash on MSVC with RTTI disabled | |
40 | # [ticket 12241] Data-driven testing over a range of `std::tuple` has broken | |
41 | # [ticket 12257] Incorrect line numbers in `test_units` generated from `test_case_gen` | |
42 | # [ticket 12378] Compilation errors with clang 3.8 | |
43 | ||
44 | [h4 Boost.Test v3.2 / boost 1.61] | |
45 | ||
46 | [h5 New features] | |
47 | * now datasets support any [link boost_test.tests_organization.test_cases.test_case_generation.datasets arity], using the | |
48 | variadic template support of the compiler. | |
49 | * now datasets support fixtures through `BOOST_DATA_TEST_CASE_F`, see | |
50 | [link boost_test.tests_organization.test_cases.test_case_generation.datasets here] for more details | |
51 | * now datasets honors move semantics of the types used for samples | |
52 | ||
53 | [h5 Bugfixes and feature requests] | |
54 | # [ticket 6767] Use of namespace qualifier with floating point exception functions breaks if they are macros | |
55 | # [ticket 8905] `boost/test/impl/debug.ipp`: Ignores return value from `WaitForSingleObject` | |
56 | # [ticket 9443] Runtime parameter Random seed for random order of test cases not respected correctly | |
57 | # [ticket 11854] Add fixture support in `BOOST_DATA_TEST_CASE` | |
58 | # [ticket 11887] `BOOST_TEST(3u == (std::max)(0u, 3u))` fails | |
59 | # [ticket 11889] `BOOST_DATA_TEST_CASE` fails to compile for 4D and higher dimensional grids | |
60 | # [ticket 11983] Boost Test XML Report contains unescaped XML characters | |
61 | ||
62 | [h4 Boost.Test v3.1 / boost 1.60] | |
63 | ||
64 | [h5 New major features] | |
65 | * improved API for datasets | |
66 | * it is now possible to use initializer lists | |
67 | * the use of `make` as top left dataset is not necessary anymore | |
68 | * improved command line interface | |
69 | * clearer help commands | |
70 | * now proposes closest matching command in case of ambiguity | |
71 | * reports invalid or ambiguous parameters: this might break existing calls when user defined commands are | |
72 | provided to the test module. The following calling convention should be adopted: | |
73 | * if the test module uses user supplied commands, those should be passed after an empty token `--` | |
74 | * all boost.test related commands should be passed before `--`, if any | |
75 | ||
76 | Example: | |
77 | the call | |
78 | `` | |
79 | test_module --user-arg1=xy --log_level=test_suite | |
80 | `` | |
81 | should be rewritten to | |
82 | `` | |
83 | test_module --log_level=test_suite -- --user-arg1=xy | |
84 | `` | |
85 | ||
86 | [h5 Bugfixes and feature requests] | |
87 | # [ticket 3384] Double-quoted arguments including spaces are divided by Boost.Test. | |
88 | # [ticket 3897] Test framework does not include `<osreldate.h>` before testing `__FreeBSD_version` (fixed in 1.59) | |
89 | # [ticket 6032] Program options within `init_unit_test_suite` are incorrect when using path and whitespaces | |
90 | # [ticket 6859] Boost.Test eats away last empty command line parameter | |
91 | # [ticket 7257] Boost.Test alters and does not restore `ostream` precision after any Test macro (fixed in 1.59) | |
92 | # [ticket 9228] Patch to make Boost.Test work with RTTI disabled (fixed in 1.59) | |
93 | # [ticket 10317] boost::test corrupts contents of `argv` if a paramter contains whitespace | |
94 | # [ticket 11279] invalid parameters should be reported | |
95 | # [ticket 11478] Boost Test Exception Assert Failure has poor message | |
96 | # [ticket 11571] Can't compile `BOOST_TEST( ..., per_element() )` comparison of `vector<string>` | |
97 | # [ticket 11623] Clang rejects some simple `BOOST_TEST()` statements | |
98 | # [ticket 11624] `BOOST_TEST( 0.0 == 0.0 )` fails under C++11 (GCC and Clang) | |
99 | # [ticket 11625] `BOOST_TEST( ..., per_element() )` erroneously requires collections are comparable | |
100 | ||
101 | ||
102 | [h4 Boost.Test v3 / boost 1.59] | |
103 | ||
104 | [h5 New major features] | |
105 | ||
106 | * __BOOST_TEST__ generic assertion | |
107 | * [link boost_test.tests_organization.test_cases.test_case_generation data driven test cases]: supersedes the parametric test case (unary test cases) | |
108 | * test units [link boost_test.tests_organization.decorators attributes], that allow finer control over test units property and behavior | |
109 | * logical grouping of the test units using [link boost_test.tests_organization.tests_grouping labels] | |
110 | * support for declaring [link boost_test.tests_organization.tests_dependencies dependencies] over test cases | |
111 | * attributes for [link boost_test.tests_organization.enabling enabling or disabling] test execution based on static, compile-time or runtime rules | |
112 | * extended [link boost_test.runtime_config.test_unit_filtering unit test filtering] from the command line (negation, labels, ...) | |
113 | * color output with [link boost_test.utf_reference.rt_param_reference.color_output `color_output`] | |
114 | * test bed listing with [link boost_test.utf_reference.rt_param_reference.list_content `list_content`] | |
115 | * rewritten documentation using quickbook | |
116 | ||
117 | [/* now having a more accurate timing (see [ticket 7397]) for the tests. Old format is still available through the command line option __param_deprecated_timer_format__ | |
118 | in case you experience problems with the new output. ] | |
119 | ||
120 | [h5 Bugfixes and feature requests] | |
121 | [/ pending | |
122 | # [ticket 1136] Let BOOST_CHECK_EQUAL support `std::wstring` | |
123 | # [ticket 4222] `feenablexcept` does not exist on mac | |
124 | # [ticket 7397] Boost.Test, since boost 1.48 is using the deprecated Boost.Timer class - it should be updated to use the new class | |
125 | ] | |
126 | # [ticket 2018] Error in the documentation chapter "Runtime parameters reference" | |
127 | # [ticket 2450] equations in Floating-point comparison algorithms html are not rendered properly | |
128 | # [ticket 2600] Unit Test Framework - missed documentation | |
129 | # [ticket 2717] `BOOST_<level>_EQUAL_COLLECTION` docs typo | |
130 | # [ticket 2759] Typos in test new-year-resolution.html | |
131 | # [ticket 3182] `_CrtSetReportFile` can be used to redirect memory leaks report | |
132 | # [ticket 3316] Access violation when trying to log from `init_tests_func` | |
133 | # [ticket 3392] Boost::Test: Wrong contents for documentation of the `BOOST_TEST_PASSPOINT` macro | |
134 | # [ticket 3402] Invalid define name in docummentation (duplicates #[ticket 2717]) | |
135 | # [ticket 3445] incorreect link in the docs | |
136 | # [ticket 3463] `GT` is GREAT! | |
137 | # [ticket 3542] Bug in documentation of detect_memory_leak parameter (duplicates #[ticket 2018]) | |
138 | # [ticket 3481] Boost Testing doesn't work under Sun Solaris Containers (duplicates #[ticket 3592]) | |
139 | # [ticket 3495] Boost::Test enters endless loop when running in `vserver` environment (duplicates #[ticket 3592]) | |
140 | # [ticket 3592] under_debugger() goes into infinite loop | |
141 | # [ticket 3595] Typo (duplicates #[ticket 2759]) | |
142 | # [ticket 3623] Boost Test Typo (duplicates #[ticket 2759]) | |
143 | # [ticket 3664] `SIGCHLD` always considered fatal error | |
144 | # [ticket 3784] Documentation errors in Execution Monitor Compilation | |
145 | # [ticket 3785] Documentation errors in Program Execution Monitor implementation | |
146 | # [ticket 3811] global namespace polution | |
147 | # [ticket 3834] doc: probably incorrect HTML rendering (duplicates #[ticket 2450]) | |
148 | # [ticket 3896] erroneous documentation in boost test commandline parameter description | |
149 | # [ticket 3932] Error in `BOOST_<level>_GT` description (duplicates #[ticket 3463]) | |
150 | # [ticket 3938] doc: incorrect macro name (duplicates #[ticket 2759]) | |
151 | # [ticket 3964] Documentation for `BOOST_<level>_CLOSE_FRACTION` is incorrect | |
152 | # [ticket 3978] Failed to completely redirect TestLog to file, bugfix appended | |
153 | # [ticket 3979] `<boost/test/exception_safety.hpp>` requires additional includes | |
154 | # [ticket 4161] spelling mistakes... | |
155 | # [ticket 4275] Documentation error Boost.Test (duplicates #[ticket 2717]) | |
156 | # [ticket 4389] Enable boost_test to run specific tests with any required dependent tests. | |
157 | # [ticket 4434] `BOOST_AUTO_EST_CASE` typos in docs | |
158 | # [ticket 4587] Broken link in website | |
159 | # [ticket 4806] Invalid link (examples not showing up in documentation) | |
160 | # [ticket 4911] ENH: boost.test output the exception real type name. | |
161 | # [ticket 4923] Missing semicolon in documentation example | |
162 | # [ticket 4924] Minor typo in Boost::Test docs | |
163 | # [ticket 4982] Boost.Test has misspelled Gennadiy Rozental e-mail address | |
164 | # [ticket 5008] Boost.Test does not do checkpointing of entry/exit of test cases | |
165 | # [ticket 5036] Boost.Test VC memory leak report should direct to `stderr` | |
166 | # [ticket 5262] Run tests by name utility doesn't support negation | |
167 | # [ticket 5374] Errors from Boost.Test are no more shown in the Error list in VS2010 | |
168 | # [ticket 5412] XML formatter in test library processes strings with subsequences `]]>` incorrectly | |
169 | # [ticket 5563] using a test macro in a global fixture crashes Boost.Test | |
170 | # [ticket 5582] There is a memory leak in the `BOOST_AUTO_TEST_CASE_TEMPLATE` | |
171 | # [ticket 5599] boost::test documentation gives poor instruction | |
172 | # [ticket 5718] broken link to unit testing framework examples | |
173 | # [ticket 5729] Missing static_cast in fpt_limits | |
174 | # [ticket 5870] The warning stack is not maintained | |
175 | # [ticket 5972] Support program option to only dump the test-tree in text to output stream | |
176 | # [ticket 6002] Failed to completely redirect TestLog to file (duplicates) | |
177 | # [ticket 6071] Boost Test (Boost 1.46.0) GCC 4.6.1 error: ambiguous overload for ‘operator[]’ | |
178 | # [ticket 6074] warnings-as-errors not usable with Boost.test in release mode | |
179 | # [ticket 6161] SunOS: bad putenv declaration (duplicates #[ticket 6766]) | |
180 | # [ticket 6766] incorrect declaration for putenv in `config.hpp` | |
181 | # [ticket 6712] Eliminate warnings with GCC | |
182 | # [ticket 6748] Link in the documentation points to wrong page | |
183 | # [ticket 7046] Output full error message, not just 512 chars | |
184 | # [ticket 7136] Correct documentation for `BOOST_<level>_CLOSE_FRACTION` is not reflected into released documents | |
185 | # [ticket 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 | |
186 | # [ticket 7894] Boost.Test documentation contains no linking instructions | |
187 | # [ticket 8201] Broken link in document | |
188 | # [ticket 8272] `BOOST_REQUIRE_CLOSE` fails to compile with `boost::multiprecision::cpp_dec_float_100` (duplicates #[ticket 11054]) | |
189 | # [ticket 8467] Incorrect link in document (duplicates #[ticket 6748]) | |
190 | # [ticket 8679] Boost.Test pollutes boost namespace with it's own `enable_if/disable_if` templates | |
191 | # [ticket 8862] Boost.Test typo in documentation | |
192 | # [ticket 8895] English error in test collection comparison | |
193 | # [ticket 9179] Documentation: broken link (unable to find =const_string.hpp/const_string_test.cpp=) | |
194 | # [ticket 9272] boost::test `BOOST_<level>_GT` documentation bug (duplicates #[ticket 3463]) | |
195 | # [ticket 9390] Incomplete `BOOST_TEST_DONT_PRINT_LOG_VALUE` | |
196 | # [ticket 9409] Some source code examples are missing | |
197 | # [ticket 9537] const_string_test example fails | |
198 | # [ticket 9539] Floating-point comparison algorithms aren't formatted correctly | |
199 | # [ticket 9581] Squassabia reference link gives 404 not found | |
200 | # [ticket 9960] Warnings on Clang | |
201 | # [ticket 10256] [boost test] - issue: `sigaltstack` | |
202 | # [ticket 10318] Minor documentation fix | |
203 | # [ticket 10394] Broken links in Boost Test documentation | |
204 | # [ticket 10888] Assertion failures don't show up in the errors pane in VS 2010, VS 2012 or VS 2013 (duplicates) | |
205 | # [ticket 11054] Floating-point comparison of multiprecision values fails if expression template is on | |
206 | # [ticket 11347] `DS` identifier causes test failures in `doc/examples/dataset_example*.cpp` | |
207 | # [ticket 11358] Boost.Test v3 warning could helpfully be suppressed. | |
208 | # [ticket 11359] `BOOST_CHECK_EQUAL_COLLECTIONS`: can't control output operator (duplicates #9390) | |
209 | # [ticket 11425] use-of-uninitialized-value (obsolete) | |
210 | ||
211 | [endsect] |