d75e9b3 | Martin Hořeňovský | 31 January 2019, 21:32:55 UTC | v2.6.0 | 31 January 2019, 21:32:55 UTC |
67308bb | Martin Hořeňovský | 31 January 2019, 14:36:48 UTC | Add documentation for CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER Related to #1510 | 31 January 2019, 14:36:52 UTC |
16dc219 | Robin Moussu | 25 January 2019, 21:05:40 UTC | Add to string for std::optional | 31 January 2019, 14:35:13 UTC |
63d1a96 | Martin Hořeňovský | 31 January 2019, 13:24:30 UTC | Merge pull request #1516 from catchorg/dev-generators-take2 This replaces the old interface with a final one. | 31 January 2019, 13:24:30 UTC |
061f1f8 | Martin Hořeňovský | 29 January 2019, 09:52:28 UTC | Update documentation and examples for generators | 31 January 2019, 09:43:25 UTC |
5929d95 | Martin Hořeňovský | 27 January 2019, 22:50:43 UTC | Add generic generator modifiers This means mutiple generic generators and some inference helper * take(n, generator) * filter(predicate, generator) * map(func, generator) * repeat(generator, repeats) | 31 January 2019, 09:43:15 UTC |
e46a70f | Martin Hořeňovský | 27 January 2019, 18:46:28 UTC | Redo generator interface | 31 January 2019, 09:43:06 UTC |
64a9c02 | Martin Hořeňovský | 27 January 2019, 15:04:02 UTC | Remove obsolete IndexTracker | 29 January 2019, 13:45:52 UTC |
61f4c7a | Martin Hořeňovský | 26 January 2019, 23:03:11 UTC | Remove unused type from tests | 26 January 2019, 23:03:11 UTC |
50fefd0 | Robin Moussu | 25 January 2019, 01:22:41 UTC | fix variant detection with non-clang compiler | 26 January 2019, 17:35:14 UTC |
a2baabb | Robin Moussu | 26 January 2019, 17:32:17 UTC | Fix variant test for libstdc++ version 9 (#1515) By using non-trivially copyable types, we force libstdc++-9's variant to properly enter the valueless-by-exception state for our stringification test. Related to #1511 | 26 January 2019, 17:32:17 UTC |
6f9cdd6 | Martin Hořeňovský | 25 January 2019, 21:50:19 UTC | Release builds on travis now respect C++17 if specified | 25 January 2019, 21:51:15 UTC |
d9e99dc | Martin Hořeňovský | 25 January 2019, 20:29:12 UTC | Improve explanation of why -Wparentheses suppression leaks Related to #1508 | 25 January 2019, 20:29:12 UTC |
804a211 | Martin Hořeňovský | 23 January 2019, 14:07:03 UTC | Merge pull request #1452 from drdanz/ParseAddAndCatchTest_DISABLED ParseAndAddCatchTests: Add PARSE_CATCH_TESTS_HIDDEN_TESTS_DISABLED option | 23 January 2019, 14:07:03 UTC |
aa1e470 | Martin Hořeňovský | 23 January 2019, 14:03:33 UTC | Merge hidden-test-disabled and hidden-test-hidden | 23 January 2019, 14:05:33 UTC |
8d5d54e | Jozef Grajciar | 22 January 2019, 10:23:44 UTC | Docs: note to INFO | 22 January 2019, 11:37:03 UTC |
73d533f | Jozef Grajciar | 01 January 2019, 13:12:36 UTC | Examples: add semicolon after INFO | 22 January 2019, 11:37:03 UTC |
899c5ed | Jozef Grajciar | 19 January 2019, 22:03:25 UTC | Console Colour: fix compilation | 19 January 2019, 22:12:54 UTC |
084b1d5 | Martin Hořeňovský | 19 January 2019, 12:29:53 UTC | Fix colourized output to file This change should be backwards compatible, but it would be better to make the console colour API take an argument in the long term. Fixes #1502 | 19 January 2019, 12:32:39 UTC |
4109870 | Martin Hořeňovský | 19 January 2019, 12:06:06 UTC | Merge pull request #1484 from Lotterleben/extend_contributing contributing.md: Add build instructions | 19 January 2019, 12:06:06 UTC |
2988e9f | Martin Hořeňovský | 19 January 2019, 12:04:45 UTC | Update contributing.md to reflect current test setup | 19 January 2019, 12:05:27 UTC |
bc02ada | Lotte Steenbrink | 04 January 2019, 14:39:22 UTC | Add build instructions to contributing.md | 19 January 2019, 12:05:22 UTC |
61e1ea9 | Martin Hořeňovský | 18 January 2019, 15:46:40 UTC | Merge pull request #1492 from Lotterleben/fix_1394 fix #1394: avoid superfluous re-run when specific section is selected | 18 January 2019, 15:46:40 UTC |
b275ead | Martin Hořeňovský | 18 January 2019, 14:38:09 UTC | Remove the obsolete issue template | 18 January 2019, 14:38:09 UTC |
b0381e4 | Martin Hořeňovský | 18 January 2019, 14:36:34 UTC | Update issue templates The old template that combined both bug reports and issue requests has led to various weird issues being filed, maybe having a separate one for each will help. | 18 January 2019, 14:36:34 UTC |
8989c9b | Martin Hořeňovský | 15 January 2019, 22:13:16 UTC | Integrate tests for #1394 into our test suite | 18 January 2019, 14:14:17 UTC |
d084162 | Lotte Steenbrink | 07 January 2019, 15:40:23 UTC | Avoid superfluous re-run when specific section is selected Fixes #1394 | 18 January 2019, 14:13:40 UTC |
0387fb6 | Torfinn Berset | 14 January 2019, 11:46:18 UTC | Added Bloomlife to list of commercial users | 14 January 2019, 17:11:38 UTC |
75200b4 | Martin Hořeňovský | 13 January 2019, 22:22:28 UTC | Change CATCH_BREAK_INTO_DEBUGGER to always expand into a function call This avoids -Wextra-semi-stmt warning inside our code | 13 January 2019, 22:22:36 UTC |
17e09be | Martin Hořeňovský | 13 January 2019, 18:01:12 UTC | Fix stupid (C4800) warning | 13 January 2019, 18:01:12 UTC |
1c99b0f | Martin Hořeňovský | 13 January 2019, 15:23:17 UTC | Minor cleanup in decomposer | 13 January 2019, 15:23:20 UTC |
64a0f46 | Martin Hořeňovský | 13 January 2019, 15:17:36 UTC | Add missing noexcept in move constructors Because both copy and move operations are trivial, this doesn't actually change anything, but it silences a static analysis warning. | 13 January 2019, 15:17:42 UTC |
47602ac | Axel Huebl | 07 January 2019, 17:55:33 UTC | RunContext: Uninit Member Fix an uninitialized member in `RunContext`. Found with coverity in a downstream project. | 13 January 2019, 09:26:47 UTC |
d1e7344 | Axel Huebl | 07 January 2019, 17:26:28 UTC | ClockEstimate: DivByZero The clock estimator has a potential division by zero. Using `iteration + 1` seems also more logical to me for an average. Found with coverity in a downstream project. | 11 January 2019, 10:55:51 UTC |
3ed5441 | NeroBurner | 10 January 2019, 13:47:19 UTC | fix ctest output with space before name When PARSE_CATCH_TESTS_ADD_TARGET_IN_TEST_NAME is enabled the cmake helper script fails to extract the testcase name if a whitespace is before the name string. Use regex to consider and remove this whitespace. fix by Mike-Devel fixes: https://github.com/catchorg/Catch2/issues/1493 | 10 January 2019, 19:09:00 UTC |
bdee512 | Jozef Grajciar | 06 January 2019, 13:03:19 UTC | small cleanup of code | 10 January 2019, 12:07:54 UTC |
188b3e6 | Axel Huebl | 07 January 2019, 17:19:55 UTC | hexEscapeChar: restore stream The ostream passed as reference to `hexEscapeChar` is manipulated and its original state not restored. This fixes it. Seen via coverity in a downstream project. | 10 January 2019, 12:05:36 UTC |
bbf70ca | Antonio Mallia | 09 January 2019, 15:06:22 UTC | Missing <type_traits> include | 10 January 2019, 11:52:15 UTC |
23f023f | NeroBurner | 07 January 2019, 08:40:51 UTC | cpp higlighting for test-cases-and-sections.md add c++ highlighting for the last two examples, all others already have highlighting | 10 January 2019, 11:29:21 UTC |
c1720d0 | Martin Hořeňovský | 03 January 2019, 09:14:03 UTC | Fix assert message I messed up copy-paste when modifying the assert messages in last commit. | 03 January 2019, 09:14:15 UTC |
d54c225 | hbina4326 | 31 December 2018, 21:31:49 UTC | Add additional static_assert for the REQUIRE(a == b && c == d) case | 02 January 2019, 21:44:54 UTC |
b3facee | BiCapitalization | 30 December 2018, 22:44:20 UTC | Add nice error messages for unsupported && and || As explained in issue #1273, `operator&&` and `operator||` should give a proper compile time error on use instead of the compiler complaining about them not being defined. This commit adds an `always_false` type in `catch_meta.hpp` used for implementing a nice `static_assert` for both of the abovementioned operators. Closes #1273 | 01 January 2019, 18:13:47 UTC |
e7fce90 | Uilian Ries | 29 December 2018, 23:32:14 UTC | Force to install Conan 1.10.2 - Conan Package Tools is not ready for Conan 1.11.x Signed-off-by: Uilian Ries <uilianries@gmail.com> | 01 January 2019, 11:22:11 UTC |
799c7a2 | Khem Raj | 18 December 2018, 01:27:43 UTC | Remove redundant move to avoid Wredundant-move with Clang Signed-off-by: Khem Raj <raj.khem@gmail.com> | 29 December 2018, 21:56:37 UTC |
9bc1593 | Martin Hořeňovský | 18 December 2018, 19:19:39 UTC | Don't use exception-related std:: functions with -fno-exceptions This doesn't cause trouble with GCC/Clang and libstdc++, but IAR and its stdlib apparently doesn't compile when you use `fno-exceptions` and `std::current_exception`/`std::rethrow_exception`. Fixes #1462 | 18 December 2018, 19:19:39 UTC |
461843b | Martin Hořeňovský | 10 December 2018, 10:39:26 UTC | Merge pull request #1468 from JoeyGrajciar/template_product_test_case Template product test case | 10 December 2018, 10:39:26 UTC |
5b4ffd3 | Jozef Grajciar | 25 November 2018, 13:45:37 UTC | Docs: added docs for TEMPLATE_PRODUCT_TEST_CASE | 10 December 2018, 07:24:08 UTC |
21a1cd5 | Jozef Grajciar | 06 December 2018, 18:27:33 UTC | Template tests: added TEMPLATE_PRODUCT_TEST_CASE support for generating test cases based on multiple template template types combined with template arguments for each of the template template types specified e.g. ``` TEMPLATE_PRODUCT_TEST_CASE("template product","[template]", (std::tuple, std::pair, std::map), ((int,float),(char,double),(int,char))) ``` will effectively create 9 test cases with types: std::tuple<int,float> std::tuple<char,double> std::tuple<int,char> std::pair<int,float> std::pair<char, double> std::pair<int,char> std::map<int,float> std::map<char,double> std::map<int,char> Tested type is accessible in test case body as TestType Unique name is created by appending ` - <index>` to test name since preprocessor has some limitations in recursions Closes #1454 | 10 December 2018, 07:22:09 UTC |
4902cd7 | Uilian Ries | 27 November 2018, 13:29:22 UTC | #926 Fix Conan package reference - Package channel should be changed automatically when matching the stable branch pattern - Update Bintray upload address Signed-off-by: Uilian Ries <uilianries@gmail.com> | 28 November 2018, 18:55:47 UTC |
18ff347 | offa | 26 November 2018, 17:39:03 UTC | Deprecated 'sudo: false' removed from travis config. | 26 November 2018, 21:51:23 UTC |
d0de666 | Martin Hořeňovský | 26 November 2018, 20:11:51 UTC | Merge pull request #1458 from ndusart/cppcodec Add cppcodec in opensource users | 26 November 2018, 20:11:51 UTC |
6ccd467 | Martin Hořeňovský | 26 November 2018, 19:50:38 UTC | v2.5.0 | 26 November 2018, 19:50:38 UTC |
34dcd2c | Martin Hořeňovský | 26 November 2018, 19:47:40 UTC | Remove remains of the old conan things from release script | 26 November 2018, 19:47:40 UTC |
16656c4 | Martin Hořeňovský | 26 November 2018, 19:41:14 UTC | Update the release process documentation | 26 November 2018, 19:41:14 UTC |
862955d | Nicolas Dusart | 26 November 2018, 10:49:14 UTC | add cppcodec in opensource users | 26 November 2018, 10:49:14 UTC |
df019cc | Martin Hořeňovský | 24 November 2018, 17:01:20 UTC | Turn "deprecations" into "deprecations and planned changes" This captures the intent better, as some changes are indeed plain deprecations leading to removal, but other changes can be viewed as minor tune-ups instead. | 24 November 2018, 17:04:56 UTC |
695e6ea | Martin Hořeňovský | 21 November 2018, 20:21:03 UTC | Merge pull request #1448 from catchorg/dev-redo-capturer-parsing Fix CAPTURE macro for nontrivial uses | 21 November 2018, 20:21:03 UTC |
59087f7 | Martin Hořeňovský | 19 November 2018, 22:06:06 UTC | Fix CAPTURE macro for nontrivial uses The previous implemetation was just plain broken for most of possible uses, the new one should work (even though it is ugly as all hell, and should be improved ASAP). Fixes #1436 | 21 November 2018, 15:48:09 UTC |
557e47c | Daniele E. Domenichelli | 21 November 2018, 08:04:00 UTC | ParseAndAddCatchTests: Add PARSE_CATCH_TESTS_HIDDEN_TESTS_DISABLED option If this option is enabled and PARSE_CATCH_TESTS_NO_HIDDEN_TESTS option is disabled, the test is be added, but the DISABLED property is set, therefore CTest shows it as "Not Run (Disabled)" instead of "Passed" | 21 November 2018, 08:22:17 UTC |
62460fa | Martin Hořeňovský | 19 November 2018, 14:34:40 UTC | Merge pull request #1443 from uilianries/feature/conanio Conan recipe Update + Conan package upload | 19 November 2018, 14:34:40 UTC |
ac0a83a | Uilian Ries | 16 November 2018, 11:45:07 UTC | Update Conan recipe - Apply new conventions introduced on Conan 1.8 - Removed outdated settings - Update license to follow SPDX format Closes #926 Closes #943 | 19 November 2018, 14:27:47 UTC |
77f29c2 | Martin Hořeňovský | 17 November 2018, 20:13:56 UTC | Add more deprecations | 17 November 2018, 20:13:56 UTC |
c6a89f1 | Martin Hořeňovský | 17 November 2018, 19:52:18 UTC | Add `std::isnan` polyfill, fixing compilation under Embarcadero Fixes #1438 | 17 November 2018, 19:52:18 UTC |
a9d5b71 | Martin Hořeňovský | 17 November 2018, 13:41:34 UTC | Add note about release signing to release docs | 17 November 2018, 13:41:34 UTC |
396e095 | Martin Hořeňovský | 17 November 2018, 10:09:15 UTC | Add ToC to "Test cases and sections" documentation | 17 November 2018, 10:09:15 UTC |
68860ff | Martin Hořeňovský | 17 November 2018, 10:01:29 UTC | Add deprecations documentation | 17 November 2018, 10:08:38 UTC |
99b37a4 | Martin Hořeňovský | 17 November 2018, 09:36:37 UTC | Merge pull request #1445 from thecppzoo/master operator<< works from the global namespace | 17 November 2018, 09:36:37 UTC |
1dccd26 | Martin Hořeňovský | 17 November 2018, 09:21:46 UTC | Fix link in documentation | 17 November 2018, 09:21:46 UTC |
3f3238e | thecppzoo | 17 November 2018, 00:45:13 UTC | operator<< works from the global namespace Since https://github.com/catchorg/Catch2/pull/1405 was merged and propagated to the single include declaring a user operator<< in the global namespace makes it available to Catch2 string converters. | 17 November 2018, 00:45:13 UTC |
450dd05 | Martin Hořeňovský | 16 November 2018, 20:24:19 UTC | Merge pull request #1437 from JoeyGrajciar/type_params_tests_v2 Type parametrised test cases v2 | 16 November 2018, 20:24:19 UTC |
00d4f5d | Martin Hořeňovský | 16 November 2018, 18:39:42 UTC | Add documentation for templated tests | 16 November 2018, 20:21:30 UTC |
2d906a9 | Jozef Grajciar | 08 November 2018, 06:26:39 UTC | Add support for templated tests This adds support for templated tests and test methods via `TEMPLATE_TEST_CASE` and `TEMPLATE_TEST_CASE_METHOD` macros. These work mostly just like their regular counterparts*, but take an unlimited** number of types as their last arguments. * Unlike the plain `TEST_CASE*` macros, the `TEMPLATE*` variants require a tag string. ** In practice there is limit of about 300 types. | 16 November 2018, 20:21:23 UTC |
489a410 | Jozef Grajciar | 04 November 2018, 19:31:49 UTC | ConsoleReporter: minor formatting fix PASSED will now appear on the same line as filename and line number, just like the case with FAILED message formatting | 10 November 2018, 18:35:25 UTC |
eccbffe | Martin Hořeňovský | 05 November 2018, 19:07:33 UTC | Add MSVC warning 5038 (Wreorder equivalent) to CMakeLists | 05 November 2018, 19:07:33 UTC |
c51f2ed | Martin Hořeňovský | 05 November 2018, 19:01:25 UTC | Make TestEventListenerBase register all verbosities This is a temporarily workaround until we can nuke the current verbosities system from the orbit and replace it with something actually sane. Fixes #1426 | 05 November 2018, 19:05:17 UTC |
de6bfb5 | Martin Hořeňovský | 05 November 2018, 19:01:13 UTC | Remove obsolete comment | 05 November 2018, 19:05:17 UTC |
87950d9 | Antonio Borondo | 05 November 2018, 10:29:54 UTC | Fix Cute test framework URL | 05 November 2018, 18:38:37 UTC |
d0eb9df | Martin Hořeňovský | 03 November 2018, 23:00:36 UTC | Remove unused partial specialization for MatcherMethod<T> No matcher actually uses it, and there is no good reason for it, as the best it can do for user is removing a single indirection when using the pointer inside the matcher. Given the overhead of other code that will be running during such time, it is completely meaningless. This also fixes compilation for PredicateMatcher<const char*>. | 03 November 2018, 23:00:36 UTC |
03d122a | Martin Hořeňovský | 26 October 2018, 19:14:16 UTC | v2.4.2 | 26 October 2018, 19:14:16 UTC |
1d9b506 | Martin Hořeňovský | 17 September 2018, 08:51:44 UTC | Add documentation for some miscellaneous and less important macros Fixes #1367 | 26 October 2018, 18:50:32 UTC |
779e83b | Martin Hořeňovský | 26 October 2018, 16:48:28 UTC | Update Clara to v1.1.5 to fix TextFlow bugs | 26 October 2018, 16:48:28 UTC |
544c7d7 | Stephane Del Pino | 17 October 2018, 23:19:36 UTC | Add the optional variable OptionalCatchTestLauncher This variable is set to allow the use of the nice ParseAndAddCatchTests script in the case where a launcher is needed to execute the script. This is introduced to allow to launch unit tests using mpi. In this case one can write for instance set(OptionalCatchTestLauncher ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROC}) before calling the ParseAndAddCatchTests function. | 25 October 2018, 13:51:15 UTC |
8b3c09c | Maciej Patro | 22 October 2018, 13:59:01 UTC | Catch's CLI now checks whether requested reporter exists Fixes #1351 | 25 October 2018, 13:43:30 UTC |
b7f4123 | Maciej Patro | 22 October 2018, 13:58:49 UTC | Remove unused parameter from listReporters() | 25 October 2018, 13:43:30 UTC |
1faccd6 | MaciejPatro | 19 October 2018, 10:46:06 UTC | Improve path normalization for approvalTests.py This fixes 3 problems: * Relative paths on Windows are now supported * Out-of-tree (paths starting with ../) builds are now supported * Path separator normalization no longer affects non-path components of input (problem with Compact reporter) Fixes #1379 Fixes #1222 Fixes #1200 Fixes #1194 | 19 October 2018, 10:46:06 UTC |
ab98afe | Jozef Grajciar | 17 October 2018, 19:05:40 UTC | Catch::LeakDetector: added cleanup call to destructor simple code with provided main function which just returns 0 leaks memory due to fact that singletons are not cleaned up running valgrind on such simple application reports that 752 bytes are still available in 11 blocks this commit adds destructor to Catch::LeakDetector which calls Catch::cleanUp() | 18 October 2018, 09:47:21 UTC |
054d356 | Martin Hořeňovský | 13 October 2018, 19:29:59 UTC | Add STATIC_REQUIRE assertion By default, it expands into a `static_assert` + `SUCCEED` pair, but it can also be deferred to runtime by defining `CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand into plain old `REQUIRE`. Closes #1362 Closes #1356 | 16 October 2018, 14:16:00 UTC |
0144ae9 | Maciej Patro | 14 October 2018, 15:18:32 UTC | Fix catch_discover_tests() - now should correctly find tests with commas | Related to #1327 | 16 October 2018, 14:06:31 UTC |
e130701 | JoeyGrajciar | 13 October 2018, 17:29:53 UTC | Session::applyCommandLine overload on wchar_t (#1401) * Session::applyCommandLine overload on wchar_t This allows users on Windows to use Catch::Session::applyCommandLine with wchar_t * arguments of application. With this change Session::run became templated so both char and wchar_t version have the same implementation. | 13 October 2018, 17:29:53 UTC |
6b9ca08 | Martin Hořeňovský | 13 October 2018, 13:30:15 UTC | Add tests for #1404 | 13 October 2018, 14:53:44 UTC |
9f8b848 | Jozef Grajciar | 09 October 2018, 08:43:24 UTC | XmlReporter: add information about rng-seed Xml result of reported will now contain value of rng-seed in case it is not zero. The value will be stored in element Randomness and it's attribute seed. Relates to #1402 | 13 October 2018, 14:53:44 UTC |
aaaac35 | Martin Hořeňovský | 13 October 2018, 12:43:58 UTC | Add tests for #1403 | 13 October 2018, 14:53:30 UTC |
6cede01 | Eddie | 10 October 2018, 01:42:34 UTC | Fix different operator<< overload sets used for SFINAE and insertion | 13 October 2018, 14:53:30 UTC |
f1faaa9 | Miguel Gaio | 03 October 2018, 08:22:16 UTC | Fix convert from char on ARM build Some platforms set the signedness of char to unsigned (eg. ARM). Convert from char should not assume the signedness of char. Fix build issue with -Werror,-Wtautological-unsigned-zero-compare flags. Signed-off-by: Miguel Gaio <mgaio35@gmail.com> | 13 October 2018, 10:56:05 UTC |
9e1bdca | Martin Hořeňovský | 28 September 2018, 13:52:51 UTC | v2.4.1 | 28 September 2018, 13:52:51 UTC |
be49a53 | Martin Hořeňovský | 28 September 2018, 13:30:00 UTC | Fix a bug in UnorderedEqualsMatcher Previously a mismatched prefix would be skipped before the actual comparison would be performed. Obviously, it is supposed to be _matching_ prefix that is skipped. | 28 September 2018, 13:30:02 UTC |
558bbe7 | Martin Moene | 29 November 2017, 20:22:38 UTC | Add example for TeamCity reporter and refer to it Prevent warnings - gnu: -Wcomment: multi-line comment - clang: -Wweak-vtables 'class' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit - clang: -Winconsistent-missing-override: 'method' overrides a member function but is not marked 'override' - MSVC: C4702: unreachable code | 27 September 2018, 21:20:02 UTC |
f4881f1 | wimo7083 | 26 September 2018, 20:48:05 UTC | prevent cygwin to_string compiler error | 27 September 2018, 18:56:27 UTC |
de06340 | Mike Cowan | 22 September 2018, 18:21:19 UTC | Abort when total assertions failed is greater than or equal to configured value | 22 September 2018, 20:39:08 UTC |
4dd6e81 | Martin Hořeňovský | 21 September 2018, 19:03:14 UTC | Update "Known limitations" section of documentation This fixes some wording that implies C++98 standard, updates the recommended solution to looped SECTION macros and mentioned the "last section failed, test needs to be rerun" problem. Related to #1367 Related to #1384 Related to #1389 | 21 September 2018, 19:03:14 UTC |