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
Updated docs with new [!throws] behaviour
- Commit
94f47d5f8c77dbad9e61d006b7fc31871c553ef9- Author
- Phil Nash ·
- Parents
20cad7cb1dd8
Changes
docs/command-line.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/command-line.md b/docs/command-line.md index 915286c8..af0c5383 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -126,6 +126,8 @@ Skips all assertions that test that an exception is thrown, e.g. ```REQUIRE_THRO These can be a nuisance in certain debugging environments that may break when exceptions are thrown (while this is usually optional for handled exceptions, it can be useful to have enabled if you are trying to track down something unexpected). +Sometimes exceptions are expected outside of one of the assertions that tests for them (perhaps thrown and caught within the code-under-test). The whole test case can be skipped when using ```-e``` by marking it with the ```[!throws]``` tag. + When running with this option any throw checking assertions are skipped so as not to contribute additional noise. Be careful if this affects the behaviour of subsequent tests. <a id="warnings"></a>