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

testlib: Inconsistency in xml and lightxml logging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.0
    • Testing: qtestlib
    • None

    Description

      In testlib, there are three possible results for a test function or data row: pass, fail and skip. For xml and lightxml output formats, testlib reports passes and fails in an <Incident> tag, but reports skips in a <Message> tag. XFAILs are also reported in an <Incident> tag.

      There is no formal definition of these output formats, but my understanding is that the <Incident> tag is for test results (i.e. pass, fail or skip) and the <Message> tag is for other test output that is not reporting a test result (e.g. debug/warning/info messages, XFAILs).

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes