Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 15.0.1, Qt Creator 16.0.0-rc1
-
Ubuntu 24.04 LTS
Description
- Have a simple Qt Test project with a failing QCOMPARE.
- 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.
- 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
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-32544 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
628211,4 | AutoTest: Tweak result delegate | master | qt-creator/qt-creator | Status: NEW | 0 | +1 |