qt5base-lts/tests/auto/testlib/selftests
Tor Arne Vestbø a4be2bd723 testlib selftest: Actually report failures as non-zero exit code
Palm, meet face.

Change-Id: I01cd4088c8f43f7fe66398c27f5d8333468620ad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-07-23 14:27:15 +02:00
..
assert CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
badxml CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchlibcallgrind CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchlibcounting CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchlibeventcounter CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchliboptions CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchlibtickcounter CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
benchlibwalltime CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
blacklisted CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
cmptest QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
commandlinedata CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
counting CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
crashes CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
datatable CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
datetime CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
deleteLater CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
deleteLater_noApp CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
differentexec CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
exceptionthrow CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
expectfail CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
failcleanup CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
faildatatype CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
failfetchtype CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
failinit CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
failinitdata CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
fetchbogus CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
findtestdata CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
float CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
globaldata CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
keyboard CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
longstring CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
maxwarnings CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
mouse CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
multiexec CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
pairdiagnostics CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
pass CMake: Regenerate selftest with latest fixes 2020-03-19 13:19:21 +01:00
printdatatags CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
printdatatagswithglobaltags CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qexecstringlist CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
signaldumper CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
silent CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
singleskip CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
skip CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
skipcleanup CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
skipinit CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
skipinitdata CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
sleep CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
strcmp CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
subtest CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
testlib CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
tuplediagnostics CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
verbose1 CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
verbose2 CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
verifyexceptionthrown CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
warnings CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
watchdog CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
xunit CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
.gitignore Revert "Remove unused overload of QTest::qExec." 2011-12-12 10:43:44 +01:00
.prev_CMakeLists.txt CMake: Enable testlib selftests 2020-03-18 16:28:30 +01:00
CATCH_LICENSE.txt Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
catch_p_p.h Remove winrt 2020-06-06 20:25:49 +02:00
catch_p.h Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
catch.cpp Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
CMakeLists.txt testlib selftest: Don't pass TESTARGS to Catch2 2020-07-23 11:08:15 +02:00
expected_assert.junitxml testlib selftest: unify xml quoted asserts that include line numbers 2020-07-22 23:23:05 +02:00
expected_assert.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_assert.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_assert.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_badxml.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_badxml.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_badxml.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind_0.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind_1.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcallgrind.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcallgrind.junitxml testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.lightxml testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.tap testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.teamcity testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcallgrind.xml testlib selftest: rebaseline benchlibcallgrind results 2020-07-22 23:23:12 +02:00
expected_benchlibcounting.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibcounting.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_benchlibcounting.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_benchlibcounting.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibcounting.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibeventcounter.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_benchlibeventcounter.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibeventcounter.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibeventcounter.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchliboptions.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_benchliboptions.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_benchliboptions.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchliboptions.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibtickcounter.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_benchlibtickcounter.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibtickcounter.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibtickcounter.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.csv Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
expected_benchlibwalltime.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_benchlibwalltime.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_benchlibwalltime.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_benchlibwalltime.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_blacklisted.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_blacklisted.lightxml testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_blacklisted.tap testlib selftest: check blacklisted test for test failures 2020-07-22 23:23:09 +02:00
expected_blacklisted.teamcity testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_blacklisted.txt testlib selftest: check blacklisted test for test failures 2020-07-22 23:23:09 +02:00
expected_blacklisted.xml testlib: Add BXPASS and BXFAIL 2019-01-29 12:18:15 +00:00
expected_cmptest.junitxml QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.lightxml QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_cmptest.teamcity QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.txt QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_cmptest.xml QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
expected_commandlinedata.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_commandlinedata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_commandlinedata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_commandlinedata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_counting.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_counting.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_counting.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_crashes_1.txt QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
expected_crashes_2.txt Add support for blacklisting test functions 2014-09-21 20:58:41 +02:00
expected_crashes_3.txt Testlib: Output function / total time along with crash dump. 2015-10-13 16:38:43 +00:00
expected_crashes_4.txt QTestlib/selftests: Add expected_crashes_4.txt for boot2qt 2018-02-11 09:41:24 +00:00
expected_crashes_5.txt Merge remote-tracking branch 'origin/5.13' into dev 2019-02-20 09:51:12 +01:00
expected_datatable.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_datatable.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_datatable.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datatable.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_datetime.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_datetime.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_datetime.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_differentexec.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_differentexec.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_differentexec.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_exceptionthrow.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_exceptionthrow.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_exceptionthrow.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_expectfail.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_expectfail.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_expectfail.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_failcleanup.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failcleanup.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failcleanup.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_faildatatype.junitxml testlib selftest: unify xml quoted asserts that include line numbers 2020-07-22 23:23:05 +02:00
expected_faildatatype.lightxml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.tap Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.teamcity Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.txt Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_faildatatype.xml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_failfetchtype.lightxml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.tap Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.teamcity Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.txt Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failfetchtype.xml Test that mismatches of datatype in test data columns are rejected 2018-12-06 18:29:22 +00:00
expected_failinit.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_failinit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failinit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_failinitdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_failinitdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_failinitdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_fetchbogus.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_fetchbogus.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_fetchbogus.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_findtestdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_findtestdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_findtestdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_float.junitxml QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.lightxml QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_float.teamcity QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.txt QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_float.xml QCOMPARE: treat values as equal if qFuzzyIsNull(each) 2020-04-30 13:44:08 +02:00
expected_globaldata.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_globaldata.lightxml Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.tap Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.teamcity Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.txt Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_globaldata.xml Fix the skip-check in TestMethods::invokeTest() 2019-03-29 14:00:03 +00:00
expected_keyboard.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_keyboard.lightxml Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.tap Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.teamcity Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.txt Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_keyboard.xml Add self-tests for QTest::keyPress() and QTest::keyRelease() 2018-05-07 14:53:18 +00:00
expected_longstring.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_longstring.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_longstring.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_longstring.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_maxwarnings.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_maxwarnings.teamcity Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
expected_maxwarnings.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_maxwarnings.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_multiexec.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_multiexec.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_multiexec.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_pairdiagnostics.junitxml Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.lightxml Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_pairdiagnostics.teamcity Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.txt Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pairdiagnostics.xml Long live std::pair! 2020-06-10 16:49:08 +02:00
expected_pass.junitxml Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.lightxml Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.tap Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.teamcity Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.txt Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_pass.xml Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
expected_printdatatags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_printdatatagswithglobaltags.txt Fixing naming of selftests. 2011-12-05 09:02:15 +01:00
expected_qexecstringlist.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_qexecstringlist.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.tap Add some missing expected_*.tap files for the testlib selftest 2019-02-01 14:42:23 +00:00
expected_qexecstringlist.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_qexecstringlist.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_signaldumper.junitxml testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.lightxml testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.tap testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.teamcity testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.txt testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_signaldumper.xml testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
expected_silent.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_silent.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_silent.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_silent.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_singleskip.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_singleskip.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_singleskip.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_skip.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skip.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skip.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_skipcleanup.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipcleanup.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipcleanup.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_skipinit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipinit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_skipinitdata.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_skipinitdata.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_skipinitdata.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_sleep.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_sleep.lightxml Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.tap Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.teamcity Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.txt Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_sleep.xml Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
expected_strcmp.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_strcmp.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_strcmp.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_strcmp.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_subtest.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_subtest.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_subtest.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_testlib.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_testlib.lightxml Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_testlib.teamcity Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.txt Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_testlib.xml Add assorted tests to exercise more QTest functions 2019-01-24 15:51:04 +00:00
expected_tuplediagnostics.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_tuplediagnostics.lightxml Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_tuplediagnostics.teamcity Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.txt Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_tuplediagnostics.xml Eliminate some stray misleading paths from expected output files 2019-01-16 18:47:41 +00:00
expected_verbose1.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_verbose1.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verbose1.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose1.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_verbose2.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verbose2.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verbose2.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_verifyexceptionthrown.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_verifyexceptionthrown.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_verifyexceptionthrown.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_warnings.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_warnings.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_warnings.tap testlib: Add Test Anything Protocol (TAP) reporter 2018-03-14 14:28:36 +00:00
expected_warnings.teamcity Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
expected_warnings.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_warnings.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_watchdog.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_watchdog.lightxml Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.tap Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.teamcity Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.txt Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_watchdog.xml Add a testlib selftest for the watchdog 2018-12-06 18:29:47 +00:00
expected_xunit.junitxml testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
expected_xunit.lightxml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.tap testlib selftest: rebaseline tap results to not include line numbers 2020-07-22 23:23:01 +02:00
expected_xunit.teamcity generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.txt generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
expected_xunit.xml generate_expected_output.py: update generated expected_* files 2017-10-11 09:59:44 +00:00
generate_expected_output.py testlib selftest: include 'keyboard' test in generate_expected_output.py 2020-07-22 23:23:27 +02:00
qt_attribution.json Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
README testlib selftest: Add README explaining how to run and debug tests 2020-07-21 13:43:51 +02:00
selftest.pro testlib selftest: Don't pass TESTARGS to Catch2 2020-07-23 11:08:15 +02:00
selftests.pri Restructure testlib selftest project 2020-03-24 21:04:43 +01:00
selftests.pro Remove winrt 2020-06-06 20:25:49 +02:00
tst_selftests.cpp testlib selftest: Actually report failures as non-zero exit code 2020-07-23 14:27:15 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Running the QtTestLib selftests with Catch2
===========================================

Catch2 [1] is a header only test framework that we use to allow
testing QtTestLib without relying on any part of testlib itself.

To run the test suite, execute 'make check' or './tst_selftests'
as normal. This should print:

    ===================================================================
    All tests passed (2453 assertions in 5 test cases)

To run specific tests, first lists the available tests:

     ./tst_selftests -l
    All available test cases:
      Loggers support both old and new style arguments
      Loggers can output to both file and stdout
      Logging to file and stdout at the same time
      All loggers can be enabled at the same time
      Scenario: Test output of the loggers is as expected
    5 test cases

Then pass the name of the test in quotes as the first argument:

     ./tst_selftests "Loggers support both old and new style arguments"
    Filters: Loggers support both old and new style arguments
    ==================================================================
    All tests passed (96 assertions in 1 test case)

You can find the tests in the sources as individual TEST_CASE
entries. Note that each of these tests run the tests once per
logger, and in the case of the test log check also all sub tests,
so the amount of actual test assertions is much higher than the
five tests listed above.

To see what the tests is actually doing, pass the -s option.
This will result in very verbose output. Each leaf test is
prefixed with a heading:

    ---------------------------------------------------------------
          Given: The QTestLog::TAP logger
           When: Passing arguments with new style
    ---------------------------------------------------------------

You can choose a specific subtest by passing the -c option:

     ./tst_selftests "Scenario: Test output of the loggers is as expected" \
        -c "Given: The QTestLog::Plain logger" \
        -c 'And given: The "skip" subtest'

It's possible to pass only the first -c options, to e.g. run all
tests with the Plain logger, but it's unfortunately not possible
to pass only the last -c option, to run the 'skip' subtest with
all loggers.

If a test fails it will print the expected, actual, and difference.
The test results are also left in a temporary directory for closer
inspection.

Add new tests by modifying selftest.pri and CMakeLists.txt, adding
a new subprogram.

Generating new test expectations is done using the python script
in this directory (generate_expected_output.py). In the future this
will be done with the --rebase option to ./tst_selftest, but this
is not fleshed out yet.

[1] https://github.com/catchorg/Catch2