diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-06-07 10:57:22 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-06-08 08:31:37 +0000 |
commit | 11e92fe789a9d88f78798b53e60a2f216184f310 (patch) | |
tree | b92a7f5006b2d6da033d4e5b721419f2c944ab0b /doc | |
parent | 7ff38464827ac28926dca81cf5a14f39ff7b73ae (diff) |
Doc: Describe grouping Google tests by using GTest filters
Change-Id: I5f128de80ee8dc6ed0a2b42fd53834d041639113
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/images/qtcreator-autotests-options-google.png | bin | 5037 -> 15199 bytes | |||
-rw-r--r-- | doc/src/howto/creator-autotest.qdoc | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/images/qtcreator-autotests-options-google.png b/doc/images/qtcreator-autotests-options-google.png Binary files differindex 79236577253..ce5898e1621 100644 --- a/doc/images/qtcreator-autotests-options-google.png +++ b/doc/images/qtcreator-autotests-options-google.png diff --git a/doc/src/howto/creator-autotest.qdoc b/doc/src/howto/creator-autotest.qdoc index bba2ce6a85a..fe47bd617b0 100644 --- a/doc/src/howto/creator-autotest.qdoc +++ b/doc/src/howto/creator-autotest.qdoc @@ -222,6 +222,15 @@ \uicontrol Tools > \uicontrol Options > \uicontrol {Testing} > \uicontrol General, and then select the \uicontrol Group check box next to the framework name in the \uicontrol {Active Test Frameworks} list. + By default, tests are grouped based on the directory where they are located. + + To group Google tests by using a GTest filter, select + \uicontrol {Google Test}. In the \uicontrol {Group mode} field, + select \uicontrol {GTest Filter} and specify the filter to use in the + \uicontrol {Active filter} field. For more information about GTest + filters, see + \l{https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md#running-a-subset-of-the-tests} + {Running a Subset of the Tests}. \image qtcreator-autotests-options.png |