catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
develroot
- Further reduce stamped out types for each templated test case
- Avoid stamping out common type helpers in each templated test cases
- Don't store extra copy of all `TestCaseInfo*` in `TestRegistry`
- Don't instantiate the default implementation of benchmarks in every TU
- Add optimizer barrier to benchmark calls of void-returning functions
- Preallocate test case vectors in TestRegistry
- Tiny formatting fix in catch_template_test_registry.hpp
- fix: work around clang 20/21 + libc++ compile failure in TEMPLATE_PRODUCT_TEST_CASE with differing arities (#3173)
- Support TEST_{PREFIX,SUFFIX} with leading/trailing whitespace
- Emit warning when using --shard-count (> 1) with --order rand
- catch_discover_tests: Escape test-invariant parts of CTest script only once
- Avoid n**2 runtime when creating list of tests in catch_discover_tests
- Fix <target>_TESTS variable generated by `catch_discover_tests`
- JSONReporter considers verbosity when listing tests
- JSONReporter's listTests only lists class-name if it is non-empty
- Make verbosity per-reporter
- v3.15.3
- Avoid quadratic JSON array parse behaviour in `catch_discover_tests`
- Avoid n^2 behaviour when appending script commands in catch_discover_tests
- Optimize adding test commands in catch_discover_tests
- Determinize the test registration order in catch_discover_tests
- Add Python script for benchmarking catch_discover_tests
- Fix bad ToC link in docs/command-line.md
- Fix typo in generator exception message ("Coud" -> "Could")
- JSONWriter uses LUT for faster checking if a char needs escaping
- Optimize writing of non-string values to JSON
- Better support for infs and NaNs in JSON writer
- Make JSONWriter's number handling locale-independent
- Add TEST_CASE with newlines & stuff to the catch_discover_tests's tests
- Document that DISCOVERY_MODE PRE_TEST should be used with catch_discover_tests when used with XCode.
- Remove debug message for environment variable check
- Optimize JSON parsing in catch_discover_tests()
- v3.15.2
- Fix --warn InfiniteGenerators firing even if the generator was filtered
- Add extra test binary & test for CATCH_CONFIG_FAST_COMPILE
- Fix some test binaries in ExtraTests not having warnings enabled
- Fix -Wunused-parameter warning with exceptions disabled
- catch_discover_tests uses tempfile to retrieve JSON from the binary
- Add LLM policy to contributing.md
- v3.15.1
- fix: move struct TestName of INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2 into the anonymous namespace
- fix: move struct TestName of INTERNAL_CATCH_TEMPLATE_LIST_TEST_CASE_METHOD_2 into the anonymous namespace
- docs: Set missing syntax language
- docs: Enable syntax coloring for code example
- Avoid a potential underflow when iterating over invalid inputs
- v3.15.0
- Constexpr matching support in the range equals matchers
- Constexpr matching support in generic Contains matchers
- Constexpr matching support in the quantifier matchers
- Constexpr matching support in IsEmpty and SizeIs matchers