diff options
author | Viktor Kirilov <vik.kirilov@gmail.com> | 2021-02-02 17:59:02 +0300 |
---|---|---|
committer | Viktor Kirilov <vik.kirilov@gmail.com> | 2021-02-02 17:59:16 +0300 |
commit | f0ab4e793fa863d4a5929ff263ddd3bebec8767e (patch) | |
tree | fa543f761edec4c4fb6741fc7fb90f4598dcbe87 /doc | |
parent | ba32eb4a98239159df95f1c33ecafcbc93ced266 (diff) |
version 2.4.52.4.5
Diffstat (limited to 'doc')
-rw-r--r-- | doc/html_generated/commandline.html | 2 | ||||
-rw-r--r-- | doc/html_generated/testcases.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/html_generated/commandline.html b/doc/html_generated/commandline.html index e21ea594..698affad 100644 --- a/doc/html_generated/commandline.html +++ b/doc/html_generated/commandline.html @@ -37,7 +37,7 @@ All the options can also be set with code (defaults/overrides) if the user [**su | ```-sce``` ```--subcase-exclude=<filters>``` | Same as ```--test-case-exclude=<filters>``` but filters based on subcase names | | ```-r``` ```--reporters=<filters>``` | List of [**reporters**](reporters.html) to use (default is ```console```) | | ```-o``` ```--out=<string>``` | Output filename | -| ```-ob``` ```--order-by=<string>``` | Test cases will be sorted before being executed either by **the file in which they are** / **the test suite they are in** / **their name** / **random**. The possible values of ```<string>``` are ```file```/```suite```/```name```/```rand```. The default is ```file```. **NOTE: the order produced by the ```file```, ```suite``` and ```name``` options is compiler-dependent and might differ depending on the compiler used.** | +| ```-ob``` ```--order-by=<string>``` | Test cases will be sorted before being executed either by **the file in which they are** / **the test suite they are in** / **their name** / **random**. The possible values of ```<string>``` are ```file```/```suite```/```name```/```rand```/```none```. The default is ```file```. **NOTE: the order produced by the ```file```, ```suite``` and ```name``` options is compiler-dependent and might differ depending on the compiler used.** | | ```-rs``` ```--rand-seed=<int>``` | The seed for random ordering | | ```-f``` ```--first=<int>``` | The **first** test case to execute which passes the current filters - for range-based execution - see [**the example python script**](../../examples/range_based_execution.py) | | ```-l``` ```--last=<int>``` | The **last** test case to execute which passes the current filters - for range-based execution - see [**the example python script**](../../examples/range_based_execution.py) | diff --git a/doc/html_generated/testcases.html b/doc/html_generated/testcases.html index c4ef5ff1..bae15047 100644 --- a/doc/html_generated/testcases.html +++ b/doc/html_generated/testcases.html @@ -125,6 +125,8 @@ TEST_CASE("name" Multiple decorators can be used at the same time. These are the currently supported decorators: - **```skip(bool = true)```** - marks the test case to be skipped from execution - unless the ```--no-skip``` option is used +- **```no_breaks(bool = true)```** - no breaking into the debugger for asserts in the test case - useful in combination with `may_fail`/`should_fail`/`expected_failures` +- **```no_output(bool = true)```** - no output from asserts in the test case - useful in combination with `may_fail`/`should_fail`/`expected_failures` - **```may_fail(bool = true)```** - doesn't fail the test if any given assertion fails (but still reports it) - this can be useful to flag a work-in-progress, or a known issue that you don't want to immediately fix but still want to track in the your tests - **```should_fail(bool = true)```** - like **```may_fail()```** but fails the test if it passes - his can be useful if you want to be notified of accidental, or third-party, fixes - **```expected_failures(int)```** - defines the number of assertions that are expected to fail within the test case - reported as failure when the number of failed assertions is different than the declared expected number of failures |