Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32544

Values in "Test Results" view are not aligned

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 15.0.1, Qt Creator 16.0.0-rc1
    • Test Integration
    • Ubuntu 24.04 LTS

    Description

      1. Have a simple Qt Test project with a failing QCOMPARE.
      2.  Run it as a usual project and see the Application Output view.
        It may look like this:
        PASS   : SomeStrings::initTestCase()
        PASS   : SomeStrings::arg()
        FAIL!  : SomeStrings::calc() Compared values are not the same
           Actual   (QString("one") + QString("two")): "onetwo"
           Expected (QString("three"))               : "three"
           Loc: [/tmp/projekte/untitled4/tst_somestrings.cpp(27)]
        PASS   : SomeStrings::cleanupTestCase()
        

        The executed codes and their results are nicely aligned in a table-like layout. This makes it easier for the user to spot the differences in less obvious cases.

      3. Run the same from the "Tests" view, e.g. using "Run All Tests".
        The output may look like:

        It's not aligned at all. I'd prefer if this also showed something resembling a table.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-32544
        # Subject Branch Project Status CR V

        Activity

          People

            cstenger Christian Stenger
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change