Doc: Describe the "Throw on failure" check box

...in Preferences > Testing > Google Test.

Updated the screenshot.

Task-number: QTCREATORBUG-29392
Change-Id: I35faf25fe39cab7569bcefbfd0fa072f55684c2c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Leena Miettinen
2023-11-03 10:16:07 +01:00
parent aee3b61164
commit 5b8f7c315a
2 changed files with 6 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -482,6 +482,12 @@
To run disabled tests, select the \uicontrol {Run disabled tests} check box. To run disabled tests, select the \uicontrol {Run disabled tests} check box.
To turn assertion failures into C++ exceptions, select the
\uicontrol {Throw on failure} check box.
To turn failures into debugger breakpoints, select the
\uicontrol {Break on failure while debugging} check box.
To run several iterations of the tests, select the \uicontrol {Repeat tests} To run several iterations of the tests, select the \uicontrol {Repeat tests}
check box and enter the number of times to run the tests in the check box and enter the number of times to run the tests in the
\uicontrol Iterations field. To make sure that the tests are independent and \uicontrol Iterations field. To make sure that the tests are independent and
@@ -490,8 +496,6 @@
randomizer in the \uicontrol Seed field. The value 0 generates a seed randomizer in the \uicontrol Seed field. The value 0 generates a seed
based on the current timestamp. based on the current timestamp.
To turn failures into debugger breakpoints, select the
\uicontrol {Break on failure while debugging} check box.
To group Google tests by using a GTest filter, select To group Google tests by using a GTest filter, select
\uicontrol {GTest Filter} in the \uicontrol {Group mode} field, \uicontrol {GTest Filter} in the \uicontrol {Group mode} field,