diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-10 12:28:42 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-11 21:10:00 +0200 |
commit | dfbb2d6e1db3f23c89c0b09ef32fd886b176e4b8 (patch) | |
tree | bea9547ca80b8b766d8ef6a74dbd71c450600198 /src/testlib/doc | |
parent | 40bfc2d8a078ce1cadfe0491e2843d028eca9f32 (diff) |
Clarify documentation of QEXPECT_FAIL()'s mode
Present behavior is to continue or abort, according to the mode,
regardless of whether the condition marked does fail.
Change-Id: I2eb5eefbbf173326101d08f3bbb378d214e93e71
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/testlib/doc')
-rw-r--r-- | src/testlib/doc/src/qttestlib-manual.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc index 9073cc7c88..ff02ab876d 100644 --- a/src/testlib/doc/src/qttestlib-manual.qdoc +++ b/src/testlib/doc/src/qttestlib-manual.qdoc @@ -921,8 +921,8 @@ QSKIP can be used to skip testing when the implementation is not yet complete or not supported on a certain platform. When there are known - failures, it is recommended to use QEXPECT_FAIL, so that the test is - always completely executed. + failures, QEXPECT_FAIL is recommended, as it supports running the rest + of the test, when possible. Example of QSKIP in a test function: |