Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTest test case description
Forum Updated to NodeBB v4.3 + New Features

QTest test case description

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 818 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TerryW
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      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

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      T 1 Reply Last reply
      0
      • VRoninV VRonin

        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

        T Offline
        T Offline
        TerryW
        wrote on last edited by
        #3

        @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.html

        Thanks for the suggestion. I'll take a look at using that.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved