sort by:
Revision Author Date Message Commit Date
a81c01d Updated documentation TOCs 08 September 2018, 09:05:52 UTC
60b05b2 v2.4.0 04 September 2018, 09:59:15 UTC
232ea3c Add documentation for no-exception support Closes #703 Closes #1358 04 September 2018, 08:06:31 UTC
a5c900d Add ExtraTest for CATCH_CONFIG_DISABLE 04 September 2018, 08:06:30 UTC
8b01883 Add support for -fno-exceptions (or equivalent) This means * Adding new configuration toggle `CATCH_CONFIG_DISABLE_EXCEPTIONS` and a best-guess configuration auto-checking for it. * Adding new set of internal macros, `CATCH_TRY`, `CATCH_CATCH_ALL` and `CATCH_CATCH_ANON` that can be used in place of regular `try`, `catch(...)` and `catch(T const&)` respectively, while disappearing when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is enabled. * Replacing all uses of `throw` with calls to `Catch::throw_exception` customization point. * Providing a default implementation for the above customization point when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is set. * Letting users override this implementation with their own. * Some minor changes and ifdefs all around to support the above 03 September 2018, 19:08:27 UTC
86da284 Replace most naked throws with macros from catch_enforce.h This is a first step towards support a no-exceptions mode 03 September 2018, 16:07:34 UTC
ef9150f Directly set Approx's members in operator() This avoids instantiating the member-setting function template and checking the invariants in cases where we know the invariant already holds. 03 September 2018, 08:20:58 UTC
84fa76e Move Approx's validity checks out of line into cpp file This avoids having to include <stdexcept> in the main include path and speeds up the compilation if Approx is used with multiple different types. 03 September 2018, 08:15:51 UTC
fcd91c7 Only look for Python binary when building tests Fixes #1374 02 September 2018, 16:55:17 UTC
efbf50f Add test for AND_GIVEN and update the baselines 02 September 2018, 14:53:57 UTC
64fd5b8 Add BDD AND_GIVEN based macros issue #1360 It is possible to have multple given contexts in a single BDD scenario; if you have to type 'and' in the GIVEN description; it's very likely you need an AND. A generic AND is not possible, thus a AND_GIVEN is added to complement the AND_WHEN and AND_THEN. Can be used without needing to increase indent: SCENARIO("...") { GIVEN("...") AND_GIVEN("...") { WHEN("...") { THEN("...") { // ... } } } } would correctly output, when requested/needed: Given: ... And given: ... When: ... Then: ... The padding had to be increased by a character in the output message, to continue to be uniform. 02 September 2018, 14:53:57 UTC
ee73989 Suppress Wunreachable-code in floating matchers and exception tests Closes #1350 01 September 2018, 20:34:29 UTC
646e1f6 Make Catch2ConfigVersion.cmake be generated as arch-independent As it turns out, there is a fairly reasonable workaround available. Closes #1368 01 September 2018, 19:51:49 UTC
6f75acb Add tests for CATCH_CONFIG_DISABLE 01 September 2018, 15:28:06 UTC
9c3cc4a Add test for CATCH_CONFIG_PREFIX_ALL 01 September 2018, 13:01:51 UTC
f3972f0 Add test for CATCH_CONFIG_DISABLE_STRINGIFICATION 31 August 2018, 19:27:35 UTC
38e1731 Build ExtraTests when building Examples on AppVeyor 31 August 2018, 16:32:23 UTC
0947752 Avoid running C++17 tests as part of approvals on VS 2017 31 August 2018, 16:25:42 UTC
0646e02 Disable installation step when Catch is used as a subproject This is because otherwise the installations paths provided via GNUInstallDirs become messed up and parts of the installation package will end up in the wrong place. Also it doesn't make much sense to force dependees to also install our header alongside them. Closes #1373 31 August 2018, 09:43:09 UTC
90663b2 Tests: Spaces & TABs Fix TABs and none-PEP8 spaces in approval test. Does not yet fix overlong lines for full `flake8` compliance. 29 August 2018, 16:28:27 UTC
7667a7d Docs: TABs to Spaces Replace TABs with four (4) spaces in code docs. 29 August 2018, 16:05:22 UTC
9773d89 Code: TABs to Spaces Replace TABs with four (4) spaces in source files. 29 August 2018, 12:59:11 UTC
2067c8d Update opensource-users.md Add "thor" Update "forest" description 29 August 2018, 12:51:17 UTC
1742ab7 No longer allow failures for VS2017 on AppVeyor 29 August 2018, 11:39:24 UTC
898d111 Fix generateSingleHeader.py to properly copy utf-8 29 August 2018, 10:52:29 UTC
5202993 Fix VS2017 approvals on AppVeyor Because of a change in VS toolset, missing option <UseFullPaths> is no longer interpreted as "don't pass /FC to the compiler", but rather as "pass /FC to the compiler". This is problematic, because /FC not only changes how much of the path is reporter by the compiler (e.g. in `__FILE__` macro), but it also lower cases the path. This lower-casing of the path broke our approval tests for VS2017 about 5 months ago. Using CMake 3.13 (not yet released) would also let us fix it, but for now we use a vcxproj.user file that is merged with the main project and explicitly disables `/FC`. 28 August 2018, 10:58:08 UTC
f061dab Add ExtraTests infrastructure This means * a new cmake option, `CATCH_BUILD_EXTRA_TESTS`, that conditionally includes the ExtraTests subfolder * building and running them on some of the Travis build images * An example configuration test In the future these should be extended to cover most of the configuration options in Catch2, but this is a start. 28 August 2018, 10:57:20 UTC
1a501fc Fix examples compilation for some combinations of Clang and libstdc++ 28 August 2018, 08:12:53 UTC
94121a5 Add a basic documentation for generators 24 August 2018, 11:34:27 UTC
92e2504 Move all<int> to .cpp file to remove <limits> from common path 24 August 2018, 11:34:03 UTC
fdcd464 Update baselines 24 August 2018, 11:31:51 UTC
7c25dae First attempt at data generator support The support is to be considered experimental, that is, the interfaces, the first party generators and helper functions can change or be removed at any point in time. Related to #850 24 August 2018, 11:31:51 UTC
7f18282 Allow overriding of Python interpreter * Calling `python` does not allow overriding downstream when running tests. 20 August 2018, 12:52:54 UTC
1cdaa48 CAPTURE is now variadic 19 August 2018, 20:40:20 UTC
1a63fad Seed the RNG in approval tests 19 August 2018, 20:34:14 UTC
d6f2fd4 Moved ReusableStringStream impl to generic singleton 19 August 2018, 09:28:46 UTC
5884ec1 Moved registry hub to generic singleton 19 August 2018, 09:13:19 UTC
eb783fc Added generic singletons facility <sigh> yes, I know - but we have them - may as well make them consistent and safer 19 August 2018, 08:34:44 UTC
38248f3 Add pragma ignore for -Wnon-virtual-dtor in Catch matchers 17 August 2018, 15:14:56 UTC
c9de7dd Optimize SourceLineInfo::operator< with short-circuiting In case of 2 instances of SourceLineInfo constructed in the same file, they will have the same `file` pointer (even at O0). Thus, we can check if they are equal before calling potentially pointless `strcmp`. 23 July 2018, 18:46:42 UTC
52cbb50 Avoid copying StringRef In theory the copy is cheap (couple of pointers change), but tests are usually compiled in Debug mode/with minimal optimizations, which means that most users will still have to pay the cost for those function calls. 23 July 2018, 12:04:43 UTC
83bfae1 Construct StringRef from constant strings in macros directly using UDL This avoids having to call `strlen` to get the constant string's length and thus should improve performance. 23 July 2018, 12:00:45 UTC
f7f592d Introduce "C-namespaced" UDL for StringRef 23 July 2018, 12:00:45 UTC
78804ea Replace std::string with StringRef in MessageInfo for macro capture Because the macro name is compile-time constant, we do not have to worry about lifetimes and will avoid allocation in case of missing SSO or long macro name. 23 July 2018, 12:00:44 UTC
b932847 Update gitattributes 23 July 2018, 08:15:52 UTC
15cf3ca v2.3.0 23 July 2018, 08:12:15 UTC
12a8dfa Fix Listening reporter use of ReporterPreferences 22 July 2018, 20:58:18 UTC
797d3b0 Reinstate CATCH_BUILD_TESTING CMake option 22 July 2018, 16:01:42 UTC
82b8744 Direct construct empty StringRef in test macros 22 July 2018, 12:13:34 UTC
ce80358 Document Approx's UDL support 15 July 2018, 15:38:57 UTC
283e2e6 Add float/int literal for Approx 15 July 2018, 15:03:12 UTC
d6c7392 Add a new reporter customization point: reporting all assertions By opting the JUnit and XML reporters into it, we no longer run into problem where they underreport the results without `-s` flag. Related to #1264, #1267, #1310 14 July 2018, 18:51:02 UTC
9ee4c1d Allow disabling the implementation of the new output capture As it turns out, some platforms do not provide things like `dup`, or `std::tmpfile`, but they do provide streams... Closes #1335 Related to #1311 13 July 2018, 18:27:00 UTC
7679060 Properly unset tags variable. 10 July 2018, 10:48:14 UTC
e21c6aa Fix the second Multiple-file example file link Previously it pointed to the first file as well. 09 July 2018, 13:47:03 UTC
7a59d50 Link the example from `CATCH_CONFIG_NOSTDOUT` documentation 08 July 2018, 11:58:44 UTC
c8941cc Add an example on providing streams with `CATCH_CONFIG_NOSTDOUT` Related to #1037 Closes #1290 08 July 2018, 11:38:42 UTC
5eeb6aa Update Approx documentation Fixes #1328 05 July 2018, 15:28:00 UTC
1c1b447 Properly guard CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER definition 03 July 2018, 07:29:26 UTC
e1d8117 Add -Wmissing-declarations to the SelfTest project This required some clean-up in our test files 02 July 2018, 15:36:13 UTC
4846ad5 Remove obsolete test `REQUIRE`, `CHECK` and many other macros already support expressions with multiple template parameters without parenthesizing. 02 July 2018, 15:32:47 UTC
ff2b3c8 Add comment explaining why we leak -Wparentheses under g++ 02 July 2018, 15:28:45 UTC
b55424d Stop -Wunused-variable suppression leaking out of Catch's header Previously it was leaking to suppress warnings on `SECTION`s, but Clang's support for `_Pragma` is solid, so we can suppress those locally. Fixes #1317 02 July 2018, 15:28:29 UTC
e69c7ce Add Discord badge to README 01 July 2018, 18:48:21 UTC
7be8ba3 Install contrib when installing Catch using conan Closes #1322 01 July 2018, 17:04:50 UTC
ad12096 fix link to single header version catch.hpp 01 July 2018, 10:37:13 UTC
f460a7d Fix documentation of CATCH_CONFIG_FAST_COMPILE Related to issue #1279 30 June 2018, 10:31:46 UTC
ebf8900 Update thread safety documentation Closes #1302 28 June 2018, 20:35:42 UTC
7d00cb8 Remove unused benchmark project 28 June 2018, 08:53:25 UTC
e69afb6 Remove removed macros from documentation 28 June 2018, 07:43:10 UTC
9fb38fc Restored description field in SectionInfo for now - but marked it deprecated 25 June 2018, 19:18:41 UTC
0f49a60 Added DYNAMIC_SECTION to CATCH_CONFIG_DISABLE builds 25 June 2018, 18:22:57 UTC
5c0efa1 Added DYNAMIC_SECTION and implemented GIVEN/ WHEN/ THEN in terms of it 25 June 2018, 18:19:21 UTC
1579744 Deprecated description in SECTION (still accepts it, for now, but doesn't use it anywhere) 25 June 2018, 18:04:29 UTC
9b0e740 Changed approval tests path to match changes in CMakeLists.txt 25 June 2018, 17:38:08 UTC
1af60ef Separate Catch2Config from targets This lets us add the installed helper scripts to the cmake module path, letting CMake users just include them after requiring Catch2 package. 24 June 2018, 10:32:22 UTC
3743295 Stop conan package from installing Catch's helpers 24 June 2018, 10:32:22 UTC
ed582bd Include contrib in installation 24 June 2018, 10:32:22 UTC
6c1145d Improve pkg-config integration a bit 24 June 2018, 10:32:22 UTC
b957eb4 Improve conan integration by using cmake install 24 June 2018, 10:32:22 UTC
0eb99fb Add option to not install documentation 24 June 2018, 10:32:22 UTC
bf22158 Update CMake and build documentation 24 June 2018, 10:32:22 UTC
44722f9 Integrate CMake with `<catch2/catch.hpp>` include paths This also goes for pkg-config installed by our CMake installation. This includes * Updating CMake version on Travis * Adding a `Catch2` subfolder to the `single_include/` folder to provide this include path both _inside_ the repository, and _outside_. * Updated examples to build with the new paths * Other general CMake cleanup 24 June 2018, 10:32:22 UTC
35a57b0 Replaced use of std::rand with std::mt19937 This uses a global instance of the RNG 15 June 2018, 13:35:47 UTC
1dce91d Reverted removal of #ifdef for chrono converters, and fixed in OC project a different way - seems the #ifdef was necessary after all, because of the difference in the way the cpp files are included in the full project vs the single include - in the OC project I moved the #include of catch_tostring.cpp first. That solves the project for now, but is a brittle solution 12 June 2018, 14:37:06 UTC
b8553d6 Moved inline functions in cpp files into anon namespaces 12 June 2018, 13:09:30 UTC
5046077 Updated XCode build settings 12 June 2018, 12:43:28 UTC
788f812 Fixed errors and warnings on OC project 12 June 2018, 12:42:33 UTC
c5301bf Updated release process documentation to reflect vcpkg autoupdate 11 June 2018, 20:44:14 UTC
d2a130f v2.2.3 06 June 2018, 21:19:06 UTC
7be8a41 Fix ambiguity in stringification Happening when using clang and templated operators, clang cannot decide between the operator provided by ReusableStringStream and the one provided by the value value as both are templates. This is easily solved by calling the operator<< through the member syntax. Fixes #1285 06 June 2018, 20:33:03 UTC
021fcee Finish fixing invalid compilation using MinGW 04 June 2018, 21:49:40 UTC
3a47b8b Add missing catch_platform include to compiler capabilities This was removed in 64be2ad, to fix OS X approval tests. At the time I couldn't investigate because I didn't have access to OS X, but this fixed it (and since we don't have MinGW in CI, the breakage went unnoticed). As it turns out, piece-wise compilation of the Compact reporter had broken OS X detection for a long time, and fixing it was what broke the approvals. After the approval scripts were changed to compensate, this change passes approval tests and fixes 04 June 2018, 21:19:55 UTC
2771a8e Normalize OS X specific pass/fail strings in approvals 04 June 2018, 21:19:55 UTC
7abd7db Fix minor typo in the documentation 01 June 2018, 20:24:49 UTC
88d7b8d Ensure stack size for POSIX signal handling is sufficient Until now, the stack size for POSIX signal handling was determined by the implementation defined limit `STKSZ`, which in some cases turned out to be insufficient, leading to stack overflow inside the signal handler. The new size, which was determined experimentally, is the larger of 32kb or `MINSTKSZ`. Fixes #1225 29 May 2018, 20:29:04 UTC
df0b0e6 Make FALLBACK_STRINGIFIER documentation more explicit Related to #1024 14 May 2018, 19:03:07 UTC
4c7b7d0 Move FALLBACK_STRINGIFIER to before the enum and range fallbacks This should align more closely with the intended semantics, where types without `StringMaker` specialization or `operator<<` overload are passed down to the user defined fallback stringifier. Related to #1024 14 May 2018, 18:38:05 UTC
90988f5 Enable console colour in the approval tests on windows. 14 May 2018, 07:41:18 UTC
e5fe3e8 Ensure platform-independent output from SpecialException::what 12 May 2018, 18:37:13 UTC
back to top