> -----Original Message----- > From: Development <[email protected]> On Behalf Of > Milian Wolff > Sent: Friday, 14 October 2022 3:00 AM > To: [email protected] > Subject: Re: [Development] Duplicated test data tags > [...] > I have many times accidentally written bogus code that duplicated the tags. > Getting a warning is useful, so thanks for working on that! > > But we won't easily spot these in the thousands of lines of outputs a large > test suite is generating. At the very least I would suggest something akin to > QT_FATAL_WARNINGS that can be set to more easily spot faulty client code.
QTest::failOnWarning (introduced in 6.3) could also be used by tests to make that warning fail the test: https://doc.qt.io/qt-6/qtest.html#failOnWarning > Cheers > -- > Milian Wolff > [email protected] > http://milianw.de _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
