mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-15 10:31:16 +02:00
Added nothrow docs
@@ -111,4 +111,18 @@ Examples:
|
|||||||
<pre>
|
<pre>
|
||||||
-n testRun
|
-n testRun
|
||||||
-n "tests of the widget component"
|
-n "tests of the widget component"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
## Eliding assertions expected to throw
|
||||||
|
<pre>
|
||||||
|
-nt, --nothrow
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Skips all assertions that test that an exception is thrown, e.g. REQUIRE_THROWS.
|
||||||
|
<p>
|
||||||
|
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).
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
When running with this option the throw checking assertions are skipped so as not to contribute additional noise.
|
||||||
|
</p>
|
Reference in New Issue
Block a user