test.resultCount

test.resultCount(resultCategory)

This function returns the number of results of the given resultCategory of the current test case. The resultCategory must be one of the strings: "errors", "fails", "fatals", "passes", "testcases", "tests", "warnings", "xfails", or "xpasses".

The result counts are only gathered for the currently running test case.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Search Results