Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-4185

Output with multiple test loggers from a single test run

    XMLWordPrintable

Details

    Description

      With the new (4.6) testlogger, all test events are buffered until the test ends, at which point the log is generated and output. Therefore it should be reasonably simple to generate the log multiple times using different testloggers.

      This would allow us to, for example, generate xunit XML for use with simplistic result parsing tools like Pulse, while at the same time generating logs with the more expressive native testlib format for more detailed results parsing.

      Running a test might look something like: ./tst_qstring -xml:testresults/tst_qstring.xml -xunitxml:testresults/tst_qstring_xunit.xml

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rmcgover Rohan McGovern (Inactive)
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes