Commit Graph

  • 499442d7ef Further reduce stamped out types for each templated test case devel devel-templated-test-case-registration-cleanup Martin Hořeňovský 2026-08-23 15:05:36 +02:00
  • 9a2b2ee8d6 Avoid stamping out common type helpers in each templated test cases Martin Hořeňovský 2026-08-20 21:38:48 +02:00
  • ef3a728265 Don't store extra copy of all TestCaseInfo* in TestRegistry Martin Hořeňovský 2026-08-22 23:28:11 +02:00
  • 69da66ee73 Don't instantiate the default implementation of benchmarks in every TU Martin Hořeňovský 2026-08-22 19:00:32 +02:00
  • 45f9ea1e79 Add optimizer barrier to benchmark calls of void-returning functions Martin Hořeňovský 2026-08-22 15:19:33 +02:00
  • 9915f7250d Preallocate test case vectors in TestRegistry Martin Hořeňovský 2026-08-21 17:37:35 +02:00
  • f9dfb10315 Tiny formatting fix in catch_template_test_registry.hpp Martin Hořeňovský 2026-08-20 20:39:35 +02:00
  • fdfc07e571 fix: work around clang 20/21 + libc++ compile failure in TEMPLATE_PRODUCT_TEST_CASE with differing arities (#3173) Matt Van Horn 2026-08-20 16:39:01 +01:00
  • 8582805f54 Support TEST_{PREFIX,SUFFIX} with leading/trailing whitespace Martin Hořeňovský 2026-08-20 14:45:30 +02:00
  • 0aeb818520 Emit warning when using --shard-count (> 1) with --order rand Matt Rasa 2026-07-31 09:37:21 -04:00
  • 97ec4e8e2e catch_discover_tests: Escape test-invariant parts of CTest script only once Martin Hořeňovský 2026-08-10 11:45:08 +02:00
  • 0136276e15 Avoid n**2 runtime when creating list of tests in catch_discover_tests Martin Hořeňovský 2026-08-09 23:24:00 +02:00
  • 630840c500 Fix <target>_TESTS variable generated by catch_discover_tests Martin Hořeňovský 2026-08-08 14:59:04 +02:00
  • 4cde128517 JSONReporter considers verbosity when listing tests Martin Hořeňovský 2026-07-28 22:08:55 +02:00
  • 0b4d7a5a16 JSONReporter's listTests only lists class-name if it is non-empty Martin Hořeňovský 2026-07-29 10:05:39 +02:00
  • a0eba50e9d Make verbosity per-reporter Martin Hořeňovský 2026-08-01 16:52:08 +02:00
  • 9712bc8fe5 Merge pull request #3184 from ZheFeng7110/fix/v2.x-user_literal-warn v2.x Martin Hořeňovský 2026-07-28 11:53:18 +02:00
  • c002f18535 Fix MSVC deprecation warning for user-defined literals Zhe Feng 2026-07-27 20:05:53 +08:00
  • 8b08d4d795 v3.15.3 v3.15.3 Martin Hořeňovský 2026-07-26 22:19:31 +02:00
  • 1079da4c5f Avoid quadratic JSON array parse behaviour in catch_discover_tests Martin Hořeňovský 2026-07-26 13:15:10 +02:00
  • 60c8b87829 Avoid n^2 behaviour when appending script commands in catch_discover_tests Martin Hořeňovský 2026-07-26 10:51:31 +02:00
  • 64a551e2e7 Optimize adding test commands in catch_discover_tests Martin Hořeňovský 2026-07-24 12:22:49 +02:00
  • 2b971368dd Determinize the test registration order in catch_discover_tests Martin Hořeňovský 2026-07-24 12:33:58 +02:00
  • f5db82a5c4 Add Python script for benchmarking catch_discover_tests Martin Hořeňovský 2026-07-24 19:12:28 +02:00
  • dcbb2d5d84 Fix bad ToC link in docs/command-line.md Martin Hořeňovský 2026-07-24 18:29:28 +02:00
  • 1a9625a6e7 Fix typo in generator exception message ("Coud" -> "Could") dvir arad 2026-07-24 15:33:21 +03:00
  • bb8873ccd7 JSONWriter uses LUT for faster checking if a char needs escaping Martin Hořeňovský 2026-07-23 19:01:53 +02:00
  • 46bdf1a04c Optimize writing of non-string values to JSON Martin Hořeňovský 2026-07-23 14:34:39 +02:00
  • c267251e70 Better support for infs and NaNs in JSON writer Martin Hořeňovský 2026-07-23 14:26:17 +02:00
  • 0cc833ea95 Make JSONWriter's number handling locale-independent Martin Hořeňovský 2026-07-23 00:10:23 +02:00
  • 8494e2dce4 Add TEST_CASE with newlines & stuff to the catch_discover_tests's tests Martin Hořeňovský 2026-07-22 21:11:58 +02:00
  • eb431764b4 Document that DISCOVERY_MODE PRE_TEST should be used with catch_discover_tests when used with XCode. Phil Nash 2026-07-10 16:42:51 +01:00
  • ae5d271da2 Remove debug message for environment variable check Manuel Knörle 2026-07-15 10:30:37 +02:00
  • a15f718c82 Optimize JSON parsing in catch_discover_tests() Nikolay Baklicharov 2026-07-08 00:29:51 +03:00
  • 191fa38c9b v3.15.2 v3.15.2 Martin Hořeňovský 2026-07-07 20:44:33 +02:00
  • dd94b9a780 Fix --warn InfiniteGenerators firing even if the generator was filtered Martin Hořeňovský 2026-07-07 14:09:04 +02:00
  • 9f7c9f6872 Add extra test binary & test for CATCH_CONFIG_FAST_COMPILE Martin Hořeňovský 2026-07-06 11:03:38 +02:00
  • 919385f704 Fix some test binaries in ExtraTests not having warnings enabled Martin Hořeňovský 2026-07-06 10:22:55 +02:00
  • 15d52830ee Fix -Wunused-parameter warning with exceptions disabled Martin Hořeňovský 2026-07-05 11:30:11 +02:00
  • 9ec44dd62b catch_discover_tests uses tempfile to retrieve JSON from the binary Martin Hořeňovský 2026-07-04 16:35:50 +02:00
  • 675f9eaeb1 Add LLM policy to contributing.md Martin Hořeňovský 2026-06-14 20:25:57 +02:00
  • bcfb10e498 v3.15.1 v3.15.1 Martin Hořeňovský 2026-06-14 10:52:15 +02:00
  • b7e0310fbe fix: move struct TestName of INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2 into the anonymous namespace Dominic Koepke 2026-06-08 09:22:27 +02:00
  • 6d4ea62200 fix: move struct TestName of INTERNAL_CATCH_TEMPLATE_LIST_TEST_CASE_METHOD_2 into the anonymous namespace Dominic Koepke 2026-06-08 09:21:14 +02:00
  • 195231c59a docs: Set missing syntax language offa 2026-05-29 11:27:44 +02:00
  • 3a865e8c0f docs: Enable syntax coloring for code example offa 2026-05-29 09:37:14 +02:00
  • 69e0473f6e Avoid a potential underflow when iterating over invalid inputs Dirk Müller 2026-05-07 09:39:12 +02:00
  • 6ee0826dca v3.15.0 v3.15.0 Martin Hořeňovský 2026-05-12 13:16:46 +02:00
  • 47ea57d74f Constexpr matching support in the range equals matchers Martin Hořeňovský 2026-05-12 10:06:20 +02:00
  • d838f88b9c Constexpr matching support in generic Contains matchers Martin Hořeňovský 2026-05-12 10:04:14 +02:00
  • c267b6eb4d Constexpr matching support in the quantifier matchers Martin Hořeňovský 2026-05-12 09:25:50 +02:00
  • 3cdae5faf0 Constexpr matching support in IsEmpty and SizeIs matchers Martin Hořeňovský 2026-05-12 08:57:55 +02:00
  • 651247c7f4 Support for constexpr matchers in C++20 (P0784) Martin Hořeňovský 2026-05-10 23:05:46 +02:00
  • 15b9393f0f Don't check if __cplusplus is defined Martin Hořeňovský 2026-05-10 20:48:45 +02:00
  • a18badd10f Workaround P3168 causing ambiguous overload issues with StringMaker Martin Hořeňovský 2026-05-08 20:53:39 +02:00
  • 54af40652a Add more runtime benchmark recipe TODOs Martin Hořeňovský 2026-05-07 21:13:11 +02:00
  • 5f47160bb2 Add benchmark for catch_test_macros.hpp inclusion Martin Hořeňovský 2026-05-07 13:42:01 +02:00
  • e83528c6eb Add readme to benchmarks/ with some simple examples Martin Hořeňovský 2026-05-07 10:43:24 +02:00
  • fd31a62547 Add benchmark for REQUIRE_THAT into runtime_assertion_benches.cpp Martin Hořeňovský 2026-05-06 22:32:25 +02:00
  • 4df8fee92d IConfig derives from NonCopyable privately Martin Hořeňovský 2026-05-07 10:11:52 +02:00
  • 300c5d3eed Fix Wconversion warning in catch_reporter_helpers.cpp Ole Schmidt 2026-05-05 08:48:32 +02:00
  • 0cac51fbbf WIP: Use =delete instead of static_assert(always_false) devel-use-delete-instead-of-static-assert-false Martin Hořeňovský 2026-04-27 20:50:51 +02:00
  • 11a96e186a Cleanups from static analysis Martin Hořeňovský 2026-04-24 11:21:04 +02:00
  • 10f62484bf AssertionHandler uses RunContext directly to avoid virtual dispatch Martin Hořeňovský 2026-04-13 22:56:55 +02:00
  • be2dfb45cc Update Doxyfile Martin Hořeňovský 2026-04-08 15:06:36 +02:00
  • 47200ddbee Rework internals of CATCH_REGISTER_ENUM Martin Hořeňovský 2026-04-08 10:26:57 +02:00
  • e51dcdcc59 Mark TestInvoker{AsMethod,Fixture} as final Martin Hořeňovský 2026-04-07 11:07:59 +02:00
  • 77eae8bd2a Turn IResultCapture::lastAssertionPassed into a free function Martin Hořeňovský 2026-04-07 13:35:57 +02:00
  • 3ab0d7cef3 Turn IResultCapture::{push,pop}*Message into free functions Martin Hořeňovský 2026-04-07 13:09:51 +02:00
  • e83218c2df Move all use of IResultCapture in AssertionHandler into the cpp file Martin Hořeňovský 2026-04-06 22:51:55 +02:00
  • 548e14a8c8 Mark some extra classes final Martin Hořeňovský 2026-04-07 00:13:17 +02:00
  • b670de4fe1 v3.14.0 v3.14.0 Martin Hořeňovský 2026-04-05 15:05:38 +02:00
  • 465e63dad7 Do not include chrono_clock.hpp in benchmark_stats_fwd.hpp Martin Hořeňovský 2026-04-04 23:25:29 +02:00
  • 34f4f81947 [ci] Update GitHub Actions to latest major release Christoph Grüninger 2026-04-03 10:22:30 +02:00
  • 57f738b380 JUnit reporter output single failed assertion node per test case Martin Hořeňovský 2026-04-04 15:12:49 +02:00
  • 1df10d28ae Don't write semicolon after failed expression in separate call Martin Hořeňovský 2026-04-02 21:19:59 +02:00
  • 9f1b48a94f Inline SKIP/FAIL in RunContext to fix build failure with prefixed macros Martin Hořeňovský 2026-04-02 22:58:33 +02:00
  • f4e83daa18 Fix catch_discover_tests PRE_TEST failure with zero discoverable tests Sung, Po Han 2026-03-02 17:28:14 +08:00
  • 572f96b8fe Fix counting of UTF-8 codepoints in TextFlow Jan Niklas Hasse 2026-03-28 16:02:01 +01:00
  • 8492fd444e Ignore Wunreachable-code-return in Generators.tests.cpp Martin Hořeňovský 2026-04-01 11:02:56 +02:00
  • fe2a20ab55 Fix warning suppression block in Condition.tests straddling includes Martin Hořeňovský 2026-04-01 10:56:17 +02:00
  • 51b0532d1f Suppress __COUNTER__ warning from newest Clang versions Martin Hořeňovský 2026-04-01 10:34:54 +02:00
  • e8fc1039cf Attempt at localized fix for warnings: doesn't work on old clang, doesn't work on Clang22 devel-attempt-at-counter-warning-fix Martin Hořeňovský 2026-04-01 09:41:41 +02:00
  • 2ec64d12b1 fix: add missing backslash in macro definition Joseph Edwards 2026-03-27 16:33:03 +00:00
  • ccc49ba664 Merge pull request #3078 from e-kwsm/cstdint Martin Hořeňovský 2026-03-11 13:44:52 +01:00
  • 6f036244e9 fix: add missed <cstdint> inclusion Eisuke Kawashima 2026-03-08 19:05:50 +09:00
  • 50e9dbfc4e Update bazel_skylib and rules_cc dependencies Vertexwahn 2026-02-16 20:47:14 +01:00
  • a404f37cec Add quiet verbosity variant to the default listener and tag listing Martin Hořeňovský 2026-02-16 22:51:27 +01:00
  • 29c9844f68 v3.13.0 v3.13.0 Martin Hořeňovský 2026-02-15 22:55:48 +01:00
  • 56024c04e4 More tests for MapGenerator Martin Hořeňovský 2026-02-15 21:53:10 +01:00
  • edfed6c04e Efficient skipToNthElementImpl for Take and Map generators Martin Hořeňovský 2026-02-15 21:43:54 +01:00
  • 75bfcc3f30 Expose skipToNthElement in the GeneratorWrapper Martin Hořeňovský 2026-02-15 21:38:14 +01:00
  • 056e4fe88d MapGenerator only calls mapping function if the result is used Martin Hořeňovský 2026-02-15 20:44:17 +01:00
  • 3a0cf7e75f Support filtering on both sections and generators (#3069) Martin Hořeňovský 2026-02-15 20:27:15 +01:00
  • b6c7b217d4 Improve test for --warn InfiniteGenerators Martin Hořeňovský 2026-02-13 21:30:26 +01:00
  • 045ac7acce Simplify IGeneratorTracker Martin Hořeňovský 2026-02-12 21:39:57 +01:00
  • 72671fdbdf Check for infinite generators before we construct generator's tracker Martin Hořeňovský 2026-02-12 21:32:32 +01:00
  • 120827d4d6 Fix formatting in catch_commandline.cpp Martin Hořeňovský 2026-02-10 14:31:30 +01:00
  • daadf42a0e Add --warn InfiniteGenerators Martin Hořeňovský 2026-02-10 09:16:03 +01:00
  • d079ee13ab Allow generators to declare themselves (infinite) Martin Hořeňovský 2026-02-09 19:05:39 +01:00