Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
-
8
-
Foundation PM Prioritized
Description
At present, if one wants to embed any relevant data in the messages these macros report, it has to be done by qPrintable(QString("...").arg(...)), which is unwieldy, ugly and expensive.
Now that macro-varargs is a thing, there is nothing to keep us from supporting printf()-style formatting directly in such strings, just the same as we can in qDebug("...", ...) messages.
Let's not name these by suffixing with numbers; I suggest QARG_FAIL(), QARG_SKIP() and QARG_VERIFY().
Attachments
Issue Links
- relates to
-
QTBUG-66320 Provide a way to conveniently use test helper functions with qtestlib
- Closed
-
QTBUG-101725 Port QSKIP/QFAIL/QVERIFY2/etc to QAnyStringView descriptions
- Reported
-
QTBUG-96295 Replace blacklisting of tests with QKNOWN_FLAKY() macro
- Closed