sort by:
Revision Author Date Message Commit Date
d399a30 Suppress clang-tidy warning about vararg usage in assertion macros CATCH_INTERNAL_IGNORE_BUT_WARN() introduced with b7b346c triggers clang-tidy warning 'cppcoreguidelines-pro-type-vararg' for every usage of assertion macros like CHECK() and REQUIRE(). Silence it via NOLINT in the '#if defined(__clang__)' block only, as clang-tidy honors those. 02 April 2020, 18:45:57 UTC
b8ce814 Add vcpkg installation instructions (#1898) * Add vcpkg installation instructions * Add index 31 March 2020, 17:12:10 UTC
6260962 Added toml++ to opensource-users.md 29 March 2020, 12:21:57 UTC
b4c8967 Fix alphabetical ordering of opensource-users.md 29 March 2020, 12:21:57 UTC
7900fb3 C-header updates 28 March 2020, 17:00:42 UTC
01bdfe3 Change PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME conditional. When no TEST_CASE_METHOD function, there is no fixture to get. 27 March 2020, 08:55:06 UTC
e5c9a58 Fixed typo in "benchmark name" column width calculation. Closes #1885. 26 March 2020, 09:31:35 UTC
255aa5f v2.11.3 19 March 2020, 12:50:19 UTC
3a33315 Fix compilation error when lambdas are used in assertions This is a partial revert of b7b346c3e5603. 19 March 2020, 12:32:45 UTC
5f94c8d v2.11.2 19 March 2020, 11:37:51 UTC
695a356 Move all scripts to Python3 19 March 2020, 11:36:30 UTC
020b655 Update wandbox script to use https endpoint and Python3 19 March 2020, 11:32:34 UTC
5561d03 Different approach to proper colouring of filters 19 March 2020, 10:08:01 UTC
3a15315 Switch back to uncolored output after printing filters After printing the list of filters, switch back from yellow to black before printing a newline to avoid the remaining output to be colored in yellow. 19 March 2020, 10:08:01 UTC
b7b346c Make warnings in assertions fire for GCC/Clang again The old code caused warnings to fire under MSVC, and Clang <3.8. I could not find a GCC version where it worked, but I assume that it did at some point. This new code causes all of MSVC, GCC, Clang, in current versions, to emit signed/unsigned comparison warning in test like this: ```cpp TEST_CASE() { int32_t i = -1; uint32_t j = 1; REQUIRE(i != j); } ``` Where previously only MSVC would emit the warning. Fixes #1880 19 March 2020, 08:45:41 UTC
9e09d79 Update tutorial.md Fix: typo; remove trailing "," 18 March 2020, 14:36:19 UTC
7048c2c Update slow-compiles.md Add missing "." 18 March 2020, 14:35:56 UTC
6f77d59 Add king as user 11 March 2020, 08:32:16 UTC
022b61f Don't cast nanoseconds to integers when writing output 08 March 2020, 11:10:44 UTC
87b5bf7 include <iterator> in catch_stats.hpp needed for std::back_inserter on some platforms 24 February 2020, 18:36:34 UTC
81d52c4 Specialize CATCH_TRAP() for iOS + thumb instruction set combo Fixes #1862 15 February 2020, 20:45:09 UTC
200b8b6 Add command line option 'never' to --wait-for-keypress (#1866) Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> 15 February 2020, 19:42:57 UTC
e70fd2a Variables made const-ref. 08 February 2020, 13:27:40 UTC
36170d6 stdio.h replaced with cstdio. 08 February 2020, 13:27:40 UTC
917e92c Add link to list of commercial user projects 07 February 2020, 14:33:55 UTC
f549507 Fix typo in link in docs 07 February 2020, 14:33:35 UTC
b3b0721 Merge pull request #1854 from neheb/patch-1 catch_compiler_capabilities.h: use proper math define 03 February 2020, 10:26:31 UTC
2652bb8 Cleanup nextafter workaround 03 February 2020, 09:05:23 UTC
1715b6b Check for Windows instead of WIN32 for wmain entry point Closes #1849 03 February 2020, 08:33:42 UTC
f20a9db Fix significant bug with storing composed matchers Given that in the 2 or so years that matchers are thing nobody complained, it seems that people do not actually write this sort of code, and the possibility will be removed in v3. However, to avoid correctness bugs, we will have to support this weird code in v2. 01 February 2020, 20:06:07 UTC
273c3f8 Add missing ToC entry in release notes 01 February 2020, 19:24:53 UTC
6a3d0dc Add a test for custom debug break macros See #1846 01 February 2020, 19:18:05 UTC
ccb1f70 Make CATCH_BREAK_INTO_DEBUGGER be user-configurable 01 February 2020, 16:01:50 UTC
4a5bc0f Make CATCH_BREAK_INTO_DEBUGGER be user-configurable 01 February 2020, 11:20:40 UTC
f96e89e catch_compiler_capabilities.h: use proper math define C++11 math requires _GLIBCXX_USE_C99_MATH_TR1 to be true with gcc/clang. Also fixes an issue with uClibc-ng where __UCLIBC__ is defined in features.h but that is not included here and is thus no-op. 01 February 2020, 06:20:59 UTC
481f54b Make hidden tags behave identically (#1847) Add both `[.]` and `[!hide]` tags when registering a hidden test case, as per documentation. Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> 31 January 2020, 20:44:06 UTC
2d172dc Some refactorings: - Overrides added - usages of push_back() replaced with emplace_back() - Loop variable made const-refernce - NULL replaced with nullptr - Names used in the declaration and definition unified - size() replaced with empty - Identical cases merged 25 January 2020, 08:01:04 UTC
587a20b Removed unneeded 'using uchar = unsigned char' 24 January 2020, 13:26:22 UTC
bff44f8 Merge pull request #1831 from matt77hias/master Added <random> include for std::uniform_int_distribution 14 January 2020, 13:05:50 UTC
4ea74ff Added <random> include for std::uniform_int_distribution 14 January 2020, 11:48:09 UTC
d10b9bd v2.11.1 28 December 2019, 20:24:04 UTC
55794e9 Avoid detecting Clang as having MSVC's traditional preprocessor Fixes #1806 28 December 2019, 17:57:24 UTC
fa6211b catch_debugger.h - implement break into debugger assembler instructions for iOS 23 December 2019, 20:26:13 UTC
4e90f91 catch_console_colour.cpp - adjust useColourOnPlatform for iOS 23 December 2019, 20:26:13 UTC
0c59cc8 catch_debugger.cpp - debugger detection is identical on Mac OS X and iOS 23 December 2019, 20:26:13 UTC
e4004e0 Provide const overload of ObjectStorage::stored_object() Fixes #1820 23 December 2019, 20:22:32 UTC
6c9a255 Fix forwarding in SingleValueGenerator and generator creation Fixes #1809 15 December 2019, 19:50:43 UTC
9a89631 Update single header generation script to warn about unused headers 21 November 2019, 15:22:04 UTC
cfba9dc Fix wrong namespacing of benchmarking constructor helpers 21 November 2019, 15:22:04 UTC
a537cca Suppress using-namespace lint in GENERATE* macros Closes #1799 16 November 2019, 16:39:28 UTC
e1c9d55 v2.11.0 15 November 2019, 14:06:17 UTC
d512dec Mention the sonarqube reporter in release process 15 November 2019, 13:59:35 UTC
f23f968 Ensure the full benchmarking support is present in the single header Fixes #1800 15 November 2019, 10:59:43 UTC
d7b8c3a Minor cleanup in the benchmarking tests 15 November 2019, 10:59:35 UTC
32733e0 Use newer version of Python on AppVeyor 13 November 2019, 19:58:15 UTC
930f49a Split [.foo] into [.][foo] when parsing test specs b77cec05c0 fixed this problem for tagging tests, so that a test case tagged with `[.foo]` would be parsed as tagged with `[.][foo]`. This does the same for the test spec parsing. Fixes #1798 05 November 2019, 22:28:47 UTC
c409dcc Cleanup tests for C++20 04 November 2019, 09:42:34 UTC
95bfb33 Forbid copying ReusableStringStream Copying a `ReusableStringStream` would lead to "double free" of the stream, and thus it could be used in multiple places at the same time, breaking the output. 03 November 2019, 23:05:35 UTC
59d2d08 Merge pull request #1794 from cericks0n/patch-1 Fix error when period of steady_clock is not nano 03 November 2019, 17:22:56 UTC
fa6d52e Fix error when period of steady_clock is not nano On systems where std::chrono::steady_clock::period is not std::nano, benchmark tests fail to compile due to trying to convert analysis.samples from a vector of duration<double, clock::period> to a vector of std::chrono::duration<double, std::nano>. 01 November 2019, 20:52:38 UTC
5ac348c Fix compilation error in examples 31 October 2019, 15:08:37 UTC
776a468 Warning fixes in examples and tests 31 October 2019, 13:29:59 UTC
3136c4f Refactored XMLWriter to provide finer-grained control over formatting 29 October 2019, 12:59:18 UTC
74e0e73 Remove useless test 29 October 2019, 10:44:24 UTC
0685216 Mark type erasure in PredicateFunction as deprecated 28 October 2019, 14:15:13 UTC
fc320f6 Extract FunctionReturnType to catch_meta.hpp 28 October 2019, 14:15:13 UTC
5290d4b Merge pull request #1791 from catchorg/dev-reorganize-warning-suppression Rework how warning suppression in macros is done 28 October 2019, 12:13:23 UTC
7ada02e Avoid technically UB type punning when determining endianness 27 October 2019, 21:07:10 UTC
849f284 Rework how warning suppression in macros is done Previously, each warning suppression was self-contained, with its own pair of `SUPPRESS_X_WARNING` and `UNSUPPRESS_X_WARNING` macros. This had the obvious advantage of being self-containing, but it also meant that if we needed to suppress more than one warning in a single place, then we would manipulate the compiler's warning state multiple times, even though logically we would only need one layer. The new way of suppressing warnings in macros is to push compiler's warning state with `CATCH_INTERNAL_START_WARNINGS_SUPPRESSION` macro, then disable whatever macros we need with the `CATCH_INTERNAL_SUPPRESS_X_WARNINGS` macro, and then return to the previous state using `CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION`. 27 October 2019, 20:07:21 UTC
2fbd66c Improve JUnit failure report The JUnit report is improved in that: * The message shows the testing condition, not the result * The actual message has similar output than the console one 27 October 2019, 17:02:14 UTC
51b29ce Add SonarQube Generic Test Data reporter It outputs reports in the `Generic Execution Test Data` format, see https://docs.sonarqube.org/latest/analysis/generic-test/, specifically https://docs.sonarqube.org/latest/analysis/generic-test/#header-2 Close #1738 (this is a cherry-pick and fixup of that PR) 27 October 2019, 09:02:41 UTC
9a55817 Merge pull request #1776 from mvd4/bugfix/enable-floating-point-ranges Enable floating point ranges 27 October 2019, 08:17:15 UTC
c5c6888 Document that matcher combinators (&&, ||, !) do not take ownership Closes #1781 26 October 2019, 19:07:38 UTC
6a08225 Add documentation for floating point `range` generator 26 October 2019, 18:52:40 UTC
4327bab Enable `range` generator for floating point types 26 October 2019, 18:52:09 UTC
50cc14c Rework StringRef interface and internals Now it no longer tries to be this weird hybrid between an owning and non-owning reference, and is only ever non-owning. This is also reflected in its interface, for example `StringRef::isNullTerminated` is now public, and `StringRef::c_str()` has the precondition that it is true. Overview of the changes: * The `StringRef::m_data` member has been completely removed, as it had no more uses. * `StringRef::isSubstring()` has been made public and renamed to `StringRef::isNullTerminated()`, so that the name reflects what the method actually does. * `StringRef::currentData()` has been renamed to `StringRef::data()`, to be in line with common C++ containers and container-alikes. * `StringRef::c_str()` will no longer silently make copies. It instead has a precondition that `isNullTerminated()` is true. * If the user needs a null-terminated string, they should use the `std::string` conversion operator and call `c_str()` on the resulting `std::string`. * Some small optimizations in various places. * Basic functionality is now `constexpr`. 25 October 2019, 11:57:52 UTC
87b745d v2.10.2 24 October 2019, 16:41:25 UTC
7d0b205 Prevent warning suppression from leaking when registering a listener 21 October 2019, 22:10:01 UTC
8fb1219 docs: command-line: Add example to specify tests by file name. 21 October 2019, 21:51:33 UTC
23c80bc Provide workaround for platforms where INFINITY is double Fixes #1782 21 October 2019, 16:33:26 UTC
a2c8dce v2.10.1 20 October 2019, 19:03:22 UTC
1e379de Fix "ldd" -> "lld" typo in docs 20 October 2019, 18:57:55 UTC
4eea438 Update updateWandbox script to account for the new Wandbox API response 20 October 2019, 18:56:20 UTC
407ee0a Add a section on slow linking under MinGW to "Known Limitations" docs Unless someone steps up to fix the long link times with a set of unobtrusive changes, the recommended solution will remain "use a better linker". Related to #1205, #1247, and #1637 Closes #1247 Closes #1637 20 October 2019, 17:52:39 UTC
060a41e Suppress false positive from clang-analyzer Fixes issue #1230 20 October 2019, 15:27:09 UTC
90825a4 Add more tests for reading test specs from file Related to #1770 20 October 2019, 13:14:50 UTC
9e8ae7d Use scientific notation for the WithinULP matcher This should now properly handle small numbers which would previously output something like `[0.00000000000000019, 0.00000000000000019]`, which does not allow user to read the numbers properly. Closes #1760 20 October 2019, 10:30:21 UTC
8485684 Fixes #1766: Catch terminates when parsing invalid test name 19 October 2019, 19:14:06 UTC
01ef707 Allow in-tree builds where Catch2 is just a subproject Closes #1773 Closes #1774 18 October 2019, 16:49:44 UTC
ae14a47 TemplateTests: suppress -Wunused-template warning in template test cases this warning was introduced by rework to support NTTPs since we have implementation macro for NTTPs and normal template test cases warning is going to be suppressed Fixes #1762 18 October 2019, 16:38:39 UTC
f2b23db TemplateTests: fix compilation with ICC ICC in some cases fails on trailing return type with decltype Closes #1748 18 October 2019, 10:35:09 UTC
1aa98c7 add a note how to run selftests using multiconfig generators 17 October 2019, 18:23:51 UTC
3195c24 Remove JSON library from users 17 October 2019, 18:20:02 UTC
31906d8 Add parenthesis to prevent macro expansions of min/max Closes #1772 17 October 2019, 14:40:37 UTC
91fa553 Add test for including unguarded windows.h If you do this, you are wrong, but apparently people expect libraries to work around intrusive lower cased macros. Oh well. 17 October 2019, 09:15:42 UTC
7c9f92b v2.10.0 13 October 2019, 21:44:18 UTC
a92a7d0 Rewrite documentation for floating point matchers 13 October 2019, 19:31:48 UTC
e4d61e4 Fix baselines 13 October 2019, 19:26:51 UTC
9ba48e2 Remove superfluous includes in exception matchers 13 October 2019, 18:49:36 UTC
2cc0c71 Add a matcher that checks exception's message Only works for exceptions that publicly derive from `std::exception` and the matching is done exactly, including case and whitespace. Closes #1649 Closes #1728 # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: ../docs/matchers.md # modified: ../include/internal/catch_capture_matchers.h # modified: ../projects/CMakeLists.txt # modified: ../projects/SelfTest/Baselines/compact.sw.approved.txt # modified: ../projects/SelfTest/Baselines/console.std.approved.txt # modified: ../projects/SelfTest/Baselines/console.sw.approved.txt # modified: ../projects/SelfTest/Baselines/junit.sw.approved.txt # modified: ../projects/SelfTest/Baselines/xml.sw.approved.txt # modified: ../projects/SelfTest/UsageTests/Matchers.tests.cpp # # Untracked files: # ./ # ../clang-full/ # ../clang-test/ # ../clang10-build/ # ../coverage-build/ # ../gcc-build/ # ../gcc-full/ # ../include/internal/catch_matchers_exception.cpp # ../include/internal/catch_matchers_exception.hpp # ../misc-build/ # ../msvc-sln/ # ../notes.txt # ../test-install/ # 13 October 2019, 18:37:07 UTC
back to top