[API] Add REGISTER_REPORTER(...) (from Catch2) for registering multiple reporters that can be selected from the command line.
[Reporter] Add the Catch2 XML reporter for #100.
[Reporter] Fix Teamcity reporter reporting [!mayfail] and [!shouldfail] as failures.
[Reporter] Record file/line information for test cases and sections.
[Reporter] Record fixture class name for "method" test cases.
[Reporter] Include test filtering criteria in the test_run_started event.
[Reporter] Expression data is no longer pre-concatenated into a single message when sent to the reporter.
[Reporter] Improve handling of long outputs in registry::print and all reporters, so that output is much less likely to be truncated.
[CLI] Unsupported Catch2 command line parameters will now be handled correctly.
[CLI] Fix #110.
[CLI] Closes #113 -- note that this is a breaking change for the CLI filtering.
[CLI] Closes #114 -- note that this adds new events to event::data hence requires updating existing reporter code.
[CLI] Add support for --out to save report output to a file.
[internal] Add approval tests for all reporters.
[internal] Fixed unsafe use of small_vector_span<const T> when not initialized with a valid backing small_vector.
[internal] Fix small_function compilation error when assigning a member function (or stateful lambda) when the function parameters contain l-value references.
[internal] Reduce memory usage of mock_framework in tests by ~x3.
[internal] Allocate large data used in test on the heap to reduce risk of stack overflow.
[internal] Fixed stack size for tests not set correctly on Windows.
[internal] Add file_writer.
As a result, the following Catch2 IDE integrations now work with snitch:
This PR does the following:
SUCCEED(...)
(from Catch2).REGISTER_REPORTER(...)
(from Catch2) for registering multiple reporters that can be selected from the command line.[!mayfail]
and[!shouldfail]
as failures.test_run_started
event.registry::print
and all reporters, so that output is much less likely to be truncated.event::data
hence requires updating existing reporter code.--out
to save report output to a file.small_vector_span<const T>
when not initialized with a valid backingsmall_vector
.small_function
compilation error when assigning a member function (or stateful lambda) when the function parameters contain l-value references.mock_framework
in tests by ~x3.file_writer
.As a result, the following Catch2 IDE integrations now work with snitch: