65cc7fd | Martin Hořeňovský | 16 November 2022, 15:06:45 UTC | v3.2.0 | 16 November 2022, 19:05:48 UTC |
c276b53 | Martin Hořeňovský | 16 November 2022, 15:06:29 UTC | Fix typo in docs/release-notes.md | 16 November 2022, 15:06:29 UTC |
8beb74d | Martin Hořeňovský | 16 November 2022, 10:21:00 UTC | Add repeatability guarantees to faq.md | 16 November 2022, 10:21:00 UTC |
e932bcf | Tim Blechmann | 05 October 2022, 23:53:51 UTC | silence clang's `-Wcomma` | 14 November 2022, 12:06:52 UTC |
6aa56c7 | Martin Hořeňovský | 12 November 2022, 21:08:15 UTC | Mention BUILD.bazel in contributing docs for CATCH_CONFIG* | 12 November 2022, 21:08:23 UTC |
1cd86c0 | Rosen Penev | 12 November 2022, 03:22:26 UTC | meson: update minimum version include_directories of type string began being supported in meson 0.50.0. New warning with meson 0.64 | 12 November 2022, 13:32:01 UTC |
b980d40 | Emery Goss (AIVAS-v2:Ubuntu-20.04) | 12 November 2022, 04:50:44 UTC | Make MatcherGenericBase copy constructor take const parameter. | 12 November 2022, 11:22:35 UTC |
41990e0 | Vertexwahn | 11 November 2022, 15:54:22 UTC | Fix Bazel build (#2563) Also adds a CI job for Bazel build to avoid future breakage. | 11 November 2022, 15:54:22 UTC |
b65c0e2 | Robert Blaauboer | 10 November 2022, 12:45:56 UTC | Make ScopedMessage in INFO logging macro const If users have const correctness checks enabled then this would flagged forcing users to wrap the INFO macro themselves or forego using it altogether. | 10 November 2022, 17:56:20 UTC |
6e77e16 | Martin Hořeňovský | 10 November 2022, 11:43:19 UTC | Remove unused StringRef argument from MatchExpr Apart from cleaning up the code, this change also improves the compilation time of `UsageTests/Matchers.tests.cpp` by about 2%. | 10 November 2022, 14:25:51 UTC |
943c6e3 | Martin Hořeňovský | 10 November 2022, 11:02:59 UTC | Add version field to the XML reporter output We start at version 2, with version 1 being taken up by the output from Catch2 v2. | 10 November 2022, 11:04:51 UTC |
066cc51 | Martin Hořeňovský | 09 November 2022, 15:32:43 UTC | Document adding new CATCH_CONFIG options to contributing.md | 09 November 2022, 15:33:47 UTC |
b7f4a2e | Masashi Fujita | 09 November 2022, 13:47:55 UTC | Add support for PlayStation platforms (#2562) * Add new `CATCH_CONFIG` option for using `std::getenv`, because PS does not support env vars * Add PS to platforms that have disabled posix signals. * Small workaround for PS toolchain bug that prevents it from compiling `std::set` with lambda based comparator. | 09 November 2022, 13:47:55 UTC |
f8006aa | Martin Hořeňovský | 07 November 2022, 22:34:44 UTC | More cleanups for src/CMakeLists.txt * Sort source file lists * Better source_group for cleanup in IDEs * More uniform source lists | 09 November 2022, 12:12:42 UTC |
fdea5a5 | Martin Hořeňovský | 07 November 2022, 20:47:38 UTC | Improve the .clang-format file a bit * add include sorting and grouping * allow some short blocks to be on a single line | 07 November 2022, 22:14:29 UTC |
297a175 | Martin Hořeňovský | 05 November 2022, 23:17:51 UTC | Cleanup the helper scripts * Remove from __future__ import print_function, because we no longer support Python2. * Clean out unused parts of tools/scripts/scriptCommon.py * Move appveyorMergeCoverageScript to Python3 * Update user reporting in *release scripts * Cleanup module imports | 06 November 2022, 20:23:16 UTC |
d1ef461 | Martin Hořeňovský | 05 November 2022, 23:35:50 UTC | Update basic cost estimates for approvals/benchmarks | 06 November 2022, 20:23:03 UTC |
0c75caf | Martin Hořeňovský | 05 November 2022, 23:11:32 UTC | Don't write ApprovalTests' temporary files into the source tree This has two effects: 1) This significantly improves the performance of ApprovalTests run in WSL, because running the massively multi-reporter test would cause lots of small and parallel writes across the WSL-Windows FS boundary, completely mudering performance. 2) ApprovalTests can be run from multiple build dirs in parallel, as long as they do not fail. However, if they do fail, the multiple runs will still step on each other toes when writing the unapproved files for user. | 05 November 2022, 23:11:38 UTC |
3b139ae | Martin Hořeňovský | 04 November 2022, 23:42:09 UTC | Decomposer checks for 0 when assuming an int arg was 0 literal | 05 November 2022, 19:43:52 UTC |
5f9d4ef | Martin Hořeňovský | 04 November 2022, 23:22:45 UTC | Move throwing test failure exceptions into a helper | 04 November 2022, 23:22:45 UTC |
ec59cd8 | Martin Hořeňovský | 01 November 2022, 14:01:43 UTC | Support decomposing types that only compare with literal 0 This is primarily done to support new `std::*_ordering` types, but the refactoring also supports any other type with this property. The compilation overhead is surprisingly low. Testing it with clang on a Linux machine, compiling our SelfTest project takes only 2-3% longer with these changes than it takes otherwise. Closes #2555 | 04 November 2022, 18:24:44 UTC |
d7f8c36 | Martin Hořeňovský | 01 November 2022, 07:48:23 UTC | Add traits for checking whether types are comparable | 04 November 2022, 18:24:42 UTC |
b3dbd83 | Martin Hořeňovský | 01 November 2022, 20:38:46 UTC | Add test for comparing pointers to NULL with != | 04 November 2022, 18:24:39 UTC |
0a1b0ae | Martin Hořeňovský | 04 November 2022, 14:46:32 UTC | Meson build fixes * Add missing files to `tests/meson.build` * Rename meson build workflows to be more easily identifiable | 04 November 2022, 18:24:36 UTC |
272bed0 | Martin Hořeňovský | 28 October 2022, 16:36:58 UTC | Set CMAKE_CXX_STANDARD_REQUIRED=ON in Github Action builds | 29 October 2022, 19:05:02 UTC |
82cec69 | Martin Hořeňovský | 28 October 2022, 14:01:51 UTC | Don't set C++ standard in CMakeLists for tests | 29 October 2022, 19:04:58 UTC |
b56c474 | Roger Standridge | 29 October 2022, 08:40:29 UTC | Update comparing-floating-point-numbers.md | 29 October 2022, 10:42:45 UTC |
12b4390 | Martin Hořeňovský | 28 October 2022, 12:39:51 UTC | Fix license rebase error in test helpers | 28 October 2022, 12:39:56 UTC |
3b40cf1 | Martin Hořeňovský | 27 October 2022, 22:16:38 UTC | Split out parseTestSpec into test-only helpers | 28 October 2022, 11:27:46 UTC |
223d8d6 | Martin Hořeňovský | 28 October 2022, 11:04:29 UTC | Merge pull request #2557 from ltoenning/fix/license_file_ref Fix references to license file | 28 October 2022, 11:04:29 UTC |
f1084fb | Lars Toenning | 28 October 2022, 09:22:53 UTC | Fix references to license file The license file was renamed with 6a502cc2f5fedd59b3495b58708f0d6d987ed9e1 | 28 October 2022, 09:30:15 UTC |
d41da10 | Martin Hořeňovský | 27 October 2022, 18:43:00 UTC | Change reporters to report filters in round-trippable format | 27 October 2022, 18:46:59 UTC |
d2294ad | Martin Hořeňovský | 27 October 2022, 17:11:20 UTC | Add test for round-tripping serialization of unmatched test specs | 27 October 2022, 17:11:20 UTC |
e19ed22 | Martin Hořeňovský | 27 October 2022, 15:10:28 UTC | Provide round-tripping serialization for TestSpec | 27 October 2022, 16:23:59 UTC |
c6dfeb5 | Martin Hořeňovský | 26 October 2022, 19:03:49 UTC | Split tests for TestSpec into its own file They also got slapped with the `[approvals]` tag in the process, because we have too many approval tests and want less of them, and these particular tests don't bring much value. Related to #2090 | 26 October 2022, 19:03:56 UTC |
17fac85 | Martin Hořeňovský | 26 October 2022, 09:26:10 UTC | Add test checking that reporters report filters | 26 October 2022, 09:26:10 UTC |
ffa1520 | Martin Hořeňovský | 25 October 2022, 22:05:00 UTC | Report used filters in the SonarQube reporter | 25 October 2022, 22:05:00 UTC |
0ce8c25 | Martin Hořeňovský | 25 October 2022, 22:04:49 UTC | Report used filters in the TAP reporter | 25 October 2022, 22:04:49 UTC |
6185d0c | Philip Salzmann | 24 October 2022, 12:17:15 UTC | Use console reporter's totals summary for compact reporter This changes the compact reporter's summary of test run totals to use the same format as the console reporter. This means that while output is no longer on a single line (two instead), it now includes totals for `failedButOk` test cases and assertions, which were previously missing. | 25 October 2022, 18:02:26 UTC |
8ce92d2 | autoantwort | 24 October 2022, 16:26:40 UTC | CatchMiscFunctions.cmake: Use PRIVATE for target_compile_options (#2553) With the changes to how `-ffile-prefix-map` is detected, Catch2 started propagating the flag to its dependents, which isn't the desired behaviour, the normalization should only apply to Catch2's impl. | 24 October 2022, 16:26:40 UTC |
a43f679 | Martin Hořeňovský | 22 October 2022, 22:09:17 UTC | Refactor parsing of shard index/count in cmdline handling This worsens the message for negative numbers a bit, but simplifies the code enough that this is still a win. | 22 October 2022, 22:10:05 UTC |
f1361ef | Martin Hořeňovský | 22 October 2022, 15:04:08 UTC | Refactor how the RNG seed is parsed when handling cmdline | 22 October 2022, 20:18:30 UTC |
d1e7544 | Martin Hořeňovský | 22 October 2022, 11:10:26 UTC | Simplify handling of environment in Bazel's support | 22 October 2022, 20:18:27 UTC |
3fed230 | Martin Hořeňovský | 22 October 2022, 11:00:31 UTC | Add Detail::getEnv wrapper that compiles under UWP Under UWP it will always return nullptr, so UWP will essentially behave as if the environment was just empty. | 22 October 2022, 20:18:24 UTC |
2d0dcc3 | Martin Hořeňovský | 21 October 2022, 08:46:56 UTC | Add Bazel support to the documentation | 21 October 2022, 08:53:55 UTC |
80d58a7 | Martin Hořeňovský | 20 October 2022, 19:31:04 UTC | Add support for Bazel's sharding env variables Closes #2491 | 21 October 2022, 08:53:53 UTC |
d7341b5 | Martin Hořeňovský | 20 October 2022, 13:06:26 UTC | Add parseUInt utility function There is an increasing number of places where Catch2 wants to parse strings into numbers, but being stuck in C++14 world, we do not have good stdlib facilities to do this (`strtoul` and `stoul` are both bad). | 21 October 2022, 08:53:50 UTC |
38d9260 | Martin Hořeňovský | 19 October 2022, 19:42:37 UTC | Tiny fix for testBazelReporter.py | 20 October 2022, 19:34:35 UTC |
9d08689 | Martin Hořeňovský | 18 October 2022, 18:57:18 UTC | Add support for Bazel's TESTBRIDGE_TEST_ONLY env var Closes #2490 | 20 October 2022, 19:34:32 UTC |
afc017e | Martin Hořeňovský | 18 October 2022, 09:33:42 UTC | Rename provideBazelReporterOutput -> enableBazelEnvSupport The new name better reflects that we are adding support for more Bazel environment variables. | 20 October 2022, 19:34:27 UTC |
fb68bb0 | Martin Hořeňovský | 19 October 2022, 19:41:58 UTC | Fix microbenchmark example in the main readme.md | 20 October 2022, 19:34:25 UTC |
77f7c01 | Martin Hořeňovský | 18 October 2022, 08:44:10 UTC | Fix fibonacci impl in benchmark tests The previous implementation was always 1 number ahead. Fixing this is not important at all, but it was bugging me. | 18 October 2022, 08:44:18 UTC |
be060cd | Martin Hořeňovský | 17 October 2022, 19:45:32 UTC | Update README.md * Add usage examples to the introduction * Mention that v3 has been released | 17 October 2022, 19:47:22 UTC |
5df88da | Martin Hořeňovský | 17 October 2022, 17:57:58 UTC | 3.1.1 | 17 October 2022, 17:57:58 UTC |
5cd8938 | Martin Hořeňovský | 17 October 2022, 13:13:00 UTC | Update explanation of REQUIRE_FALSE in docs/assertions.md | 17 October 2022, 13:13:00 UTC |
6a422ba | Martin Hořeňovský | 17 October 2022, 13:02:45 UTC | Trim superfluous whitespace in docs | 17 October 2022, 13:02:45 UTC |
a07ac3f | Martin Hořeňovský | 17 October 2022, 10:35:54 UTC | Rewrite explanation of problems with && and || in assertions | 17 October 2022, 10:36:02 UTC |
d8619f0 | Martin Hořeňovský | 16 October 2022, 15:00:23 UTC | Fixup shard index docs Closes #2547 | 16 October 2022, 15:00:29 UTC |
95cd95e | Martin Hořeňovský | 15 October 2022, 21:41:51 UTC | Add extra explanations to some items in docs/readme.md This should make it easier for people to find what they need, e.g. finding generators by looking for "value parameterized tests". | 15 October 2022, 21:50:20 UTC |
eb73975 | Martin Hořeňovský | 15 October 2022, 21:40:35 UTC | Bold section 'headings' in docs/readme.md | 15 October 2022, 21:50:18 UTC |
d1394a7 | Sam Cunliffe | 12 October 2022, 09:17:50 UTC | Link to SECTIONS doc at top of test fixtures page. I came here looking for a way to use a fixture. But what I really wanted was better done in the SECTION macro. Feels like a link right at the top would've made it clearer faster. | 15 October 2022, 14:59:52 UTC |
e94976e | Martin Hořeňovský | 15 October 2022, 09:29:22 UTC | Downgrade MacOS version in GHA | 15 October 2022, 11:06:50 UTC |
0c962d1 | Martin Hořeňovský | 14 October 2022, 20:14:52 UTC | Centralize and update docs for floating point comparisons The new docs mention that Approx is deprecated and should not be used, and explain the reasons behind it. Closes #1444 | 15 October 2022, 09:02:58 UTC |
bdf3083 | Teskann | 08 October 2022, 21:12:21 UTC | Mute the sign conversion warning with explicit cast | 09 October 2022, 17:02:32 UTC |
728de35 | Tim Blechmann | 04 October 2022, 13:55:50 UTC | improve `-ffile-prefix-map` detection (#2517) the current implementation has two problems: * `clang-cl` does not know `-ffile-prefix-map`, but in CMake it is reported as "Clang", so the compiler will warn about an unknown compiler option. * XCode's clang in CMake is reported as "AppleClang", so it is not picked up as "Clang", so it is not passed `-ffile-prefix-map`, even though it supports it. Also changed the map so that the normalized `__FILE__` paths are the same as what the approval tests normalize paths into. Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> | 04 October 2022, 13:55:50 UTC |
0e139b7 | Jonathan Wright | 04 October 2022, 13:49:09 UTC | add versioning to shared libs (#2516) * add versioning to shared libs Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> | 04 October 2022, 13:49:09 UTC |
97313f9 | Roland Kaminski | 03 October 2022, 17:38:04 UTC | fix compilation on cygwin Use std::char_traits<char>::find instead of strnlen for better portability. | 04 October 2022, 08:50:18 UTC |
6a9bf2e | Rosen Penev | 03 October 2022, 15:23:38 UTC | meson cleanups with muon (#2539) * meson: run through muon's fmt to fix formatting * meson: switch arrays to files Allows muon to alphabetically sort files. switch headers back to arrays as split() can only be used on strings. Signed-off-by: Rosen Penev <rosenp@gmail.com> | 03 October 2022, 15:23:38 UTC |
980c206 | Dimitrij Mijoski | 03 October 2022, 13:36:37 UTC | Don't expose header windows.h in catch_all.hpp (#2526) * Don't expose header windows.h in catch_all.hpp * Fix generateAmalgamatedFiles.py | 03 October 2022, 13:36:37 UTC |
4db8b50 | Mike Crowe | 01 October 2022, 21:28:30 UTC | Add support for building with Meson (#2530) The Meson[1] build system makes it easier incorporate third-party libaries into a project if they also build using Meson. Let's add a minimal Meson build that's compatible with the CMake build, along with a GitHub workflow to check that it builds and that at least the simplest SelfTest runs. The handling of catch_user_config.hpp is inspired by BUILD.bazel and doesn't attempt to support any configuratons options. Such features could be added later. Meson strongly discourages using wildcards to specify sources, so the source and header lists are copied from CMakeLists.txt. Add a new test workflow to test the Meson builds. I was unable to get these tests to pass with Ubuntu 20.04, so they use Ubuntu 22.04. I'm neither a CMake nor a Meson expert, but the results seem to work for me. [1] https://mesonbuild.com/ Co-authored-by: Mike Crowe <mcrowe@brightsign.biz> | 01 October 2022, 21:28:30 UTC |
4a7cefe | Sergey Evsegneev | 28 September 2022, 08:30:17 UTC | Unused variable removed | 28 September 2022, 14:02:10 UTC |
243cf71 | Vertexwahn | 26 September 2022, 16:09:29 UTC | Make Bazel work with CATCH_CONFIG_SHARED_LIBRARY | 27 September 2022, 20:06:12 UTC |
4bb7e02 | Vertexwahn | 18 September 2022, 13:03:38 UTC | Bazel build: Update of skylib | 27 September 2022, 20:06:12 UTC |
97d0b1e | Rutayan Patro | 26 September 2022, 16:07:50 UTC | Suppress clang-tidy warnings for TEMPLATE_TEST_CASE (#2536) * Suppress clang-tidy *-avoid-c-arrays for TEMPLATE_TEST_CASE * Made globalRegistrar `const` to avoid `cppcoreguidelines-avoid-non-const-global-variables` Fixes #2095 | 26 September 2022, 16:07:50 UTC |
c0e582e | Dimitrij Mijoski | 17 September 2022, 12:58:52 UTC | Fix building as shared library with MSVC. | 24 September 2022, 13:15:50 UTC |
0de60d8 | Björn Schäpers | 14 September 2022, 08:25:37 UTC | Suppress -Wuseless-cast Warning Fixes #2520. | 22 September 2022, 19:00:05 UTC |
d6bbd3f | Zhi Wang | 21 September 2022, 11:54:11 UTC | warning: storage class is not first This pull request fixes the warning issued by `nvc++` (the C++ compiler in Nvidia HPC SDK/PGI), and is similar to pull request #1717. | 21 September 2022, 18:14:12 UTC |
98d37da | Dimitrij Mijoski | 16 September 2022, 15:56:00 UTC | Raise the minimum CMake version to 3.10 (#2523) | 16 September 2022, 15:56:00 UTC |
4b3defe | Dimitrij Mijoski | 14 September 2022, 20:48:58 UTC | Suppress warning "-Wstrict-aliasing" for GCC 5 and 6 | 15 September 2022, 11:40:16 UTC |
c754308 | Dimitrij Mijoski | 14 September 2022, 19:12:42 UTC | Add GCC 5 and GCC 6 to CI | 15 September 2022, 11:40:16 UTC |
359542d | Tim Blechmann | 10 September 2022, 04:18:19 UTC | FileStream: enable automatic flushing when a test executable is killed by a signal (e.g. when executed by ctest with timeout), the reporter files are not flushed. this can lead to incomplete (or empty) report files. to avoid this we enable automatic flushing via `std::unitbuf` compare #663 | 11 September 2022, 21:49:15 UTC |
dea1a6a | tocic | 09 September 2022, 14:00:39 UTC | Fix typos in docs (#2514) | 09 September 2022, 14:00:39 UTC |
32eae0e | Riom | 08 September 2022, 08:21:36 UTC | Add missing include for VxWorks build. (#2515) `catch_sharding.hpp` was using `std::min` without including `<algorithm>`. This worked on most platforms, but it wasn't transitively included in the VxWorks toolchain. | 08 September 2022, 08:21:36 UTC |
4adf010 | Martin Hořeňovský | 03 September 2022, 20:31:25 UTC | Mention dynamic library stuff in the FAQ Closes #2497 | 03 September 2022, 20:31:29 UTC |
686468d | Martin Hořeňovský | 03 September 2022, 20:22:10 UTC | Explain TU as translation unit where appropriate | 03 September 2022, 20:22:10 UTC |
7b2e7d6 | Martin Hořeňovský | 02 September 2022, 05:11:24 UTC | Disable Bazel's env checking on UWP UWP does not support environment variables and so it cannot compile code using getenv. | 02 September 2022, 05:11:28 UTC |
3ca5cf3 | Martin Hořeňovský | 02 September 2022, 05:09:28 UTC | Add CATCH_PLATFORM_WINDOWS_UWP detection macro | 02 September 2022, 05:10:38 UTC |
dc001fa | Martin Hořeňovský | 18 August 2022, 19:22:28 UTC | Allow easy retrieval of RNG seed by the users This makes it so that they don't need parallel RNG seed passing infrastructure for randomized data generation (e.g. inputs for benchmarks). | 18 August 2022, 21:23:18 UTC |
33e7019 | Martin Hořeňovský | 17 August 2022, 22:14:07 UTC | Link to the randomized-shard-registration script from usage tips | 17 August 2022, 22:14:07 UTC |
9bb206f | Martin Hořeňovský | 17 August 2022, 22:05:55 UTC | Remove obsoleted sections of ci-and-misc.md | 17 August 2022, 22:05:55 UTC |
ab04e59 | Martin Hořeňovský | 17 August 2022, 22:02:33 UTC | Improve v2->v3 migration docs | 17 August 2022, 22:02:33 UTC |
47d56f2 | Damjan Jelas | 26 July 2022, 12:39:27 UTC | Fix compatibility with cmake 3.8 | 03 August 2022, 22:09:02 UTC |
a118799 | Martin Hořeňovský | 03 August 2022, 21:44:49 UTC | Switch MacOS image to macos-12 in Github Actions Also updated GCC version to GCC-11, which is packaged in the runner image. | 03 August 2022, 21:54:49 UTC |
997a7d4 | Dimitrij Mijoski | 18 July 2022, 09:28:04 UTC | Fix running the tests with shared library on Windows. Without this fix, the test executable fails because it can not find the dll of Catch2. | 25 July 2022, 19:07:49 UTC |
2b0fd85 | Haowei Hsu | 24 July 2022, 18:55:10 UTC | Modify the install directories into convention. | 25 July 2022, 08:43:41 UTC |
a7dc85d | mheimlich | 21 July 2022, 06:20:58 UTC | Use DYLD_LIBRARY_PATH on apple platforms. | 23 July 2022, 18:45:49 UTC |
97c48e0 | Martin Hořeňovský | 17 July 2022, 18:18:44 UTC | v3.1.0 | 17 July 2022, 18:18:44 UTC |
9c9f350 | Martin Hořeňovský | 17 July 2022, 12:00:04 UTC | Normalize C++ namespace in JUnit's reporter classname field Closes #2468 | 17 July 2022, 17:15:20 UTC |
1bd2338 | Raphael Schaller | 14 November 2021, 16:05:31 UTC | Add AllTrue, AnyTrue, NoneTrue matchers | 16 July 2022, 14:16:05 UTC |
f993b70 | Raphael Schaller | 14 November 2021, 12:52:20 UTC | extend gitignore | 16 July 2022, 14:16:05 UTC |