Updated docs with new [!throws] behaviour

This commit is contained in:
Phil Nash 2014-04-16 07:58:09 +01:00
parent 20cad7cb1d
commit 94f47d5f8c

View File

@ -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>