Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to export unit test results of Qt Quick QML app in xunitxml format?
Forum Update on Monday, May 27th 2025

How to export unit test results of Qt Quick QML app in xunitxml format?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 837 Views
  • 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.
  • U Offline
    U Offline
    ur2cdanger
    wrote on 8 Apr 2016, 22:46 last edited by
    #1

    I am new to Qt and QtQuick. I recently wrote an app that tests a functionality of a remote server. I wrote the app following tutorials and wrote unit test cases for the app. The unit test cases are exported in xml format. I have reached up to this point. I have not been able to proceed further. What I need to do more is

    • Export the results in xunitxml format.

    • Segregate the unit tests under different test suites. This way would give lot of leverage in arranging the tests.All I see in QML documentations are only Testcases and nothing is mentioned about Testsuites.

    Any help on these two questions would be really welcome. Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Apr 2016, 21:18 last edited by
      #2

      Hi and welcome to devnet,

      You can have your tests output xUnit xml passing the -xunitxml option when running them.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      8 Apr 2016, 22:46

      • Login

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