Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTest test case description
-
We use QTest to write tests. When a test runs in Atlassian Bamboo, we see the name of the test case (slot name) and test suite (class name). Is there any way to add a test description so that we can correlate test case, test description, and test status (pass/fail) for reporting purposes?
-
You can (ab)use the data driven Test framework, just add 1 row with the description in it
http://doc.qt.io/qt-5/qttestlib-tutorial2-example.html
-
@VRonin said in QTest test case description:
You can (ab)use the data driven Test framework, just add 1 row with the description in it
http://doc.qt.io/qt-5/qttestlib-tutorial2-example.htmlThanks for the suggestion. I'll take a look at using that.