summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_blacklisted.xunitxml
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-01-22 16:43:40 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-03 13:48:25 +0100
commit27db9e458cef512fca3a6b5c9ebbcda7a8172428 (patch)
tree890c771f856b665a9c44ce6111b9f275d4021b3e /tests/auto/testlib/selftests/expected_blacklisted.xunitxml
parent75ad13d2bc414058024bbf8b0886b3d7dd498059 (diff)
testlib: Clarify that our XUnit reporter is actually a JUnit reporter
The reporter was probably named 'xunit' based on the historical use of xUnit to refer to testing frameworks derived from Smalltalk's SUnit. These frameworks typically added their own prefix, e.g. JUnit for Java, RUnit for R, etc. The most popular of these was the JUnit framework, and the corresponding XML output produced by the Ant built tool became somewhat of a de facto standard, which is probably why we chose to model our reporter after it. Nowadays however, naming it 'xunit' is problematic as there is actually a testing famework named xUnit.net, typically shortened to, you guessed it: xunit. Test report consumers will typically have a junit mode, and an xunit mode, and the latter could easily be mistaken for what testlib outputs, unless we clarify this. The clarification also allows us to safely extend our support for the JUnit XML format to incorporate some elements that are nowadays common, but where we are lagging behind the standard. [ChangeLog][QTestLib] The formerly named 'xunitxml' test reporter has been renamed to what it actually is: a JUnit test reporter, and is now triggered by passing -o junitxml to the test binary. Change-Id: Ieb20d3d2b5905c74e55b98174948cc70870c0ef9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_blacklisted.xunitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_blacklisted.xunitxml35
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/auto/testlib/selftests/expected_blacklisted.xunitxml b/tests/auto/testlib/selftests/expected_blacklisted.xunitxml
deleted file mode 100644
index 6e192687fb..0000000000
--- a/tests/auto/testlib/selftests/expected_blacklisted.xunitxml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite errors="8" failures="3" tests="7" name="tst_Blacklisted">
- <properties>
- <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
- <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
- <property value="" name="QtBuild"/>
- </properties>
- <testcase result="pass" name="initTestCase"/>
- <testcase result="bpass" name="pass"/>
- <testcase name="skip">
- <!-- message="This test should SKIP" type="skip" -->
- </testcase>
- <testcase result="bfail" name="fail"/>
- <testcase result="bxfail" name="xfail"/>
- <testcase result="bxpass" name="xpass"/>
- <testcase result="bfail" name="messages">
- <!-- message="This is a warning that should not appear in silent test output" type="qwarn" -->
- <!-- message="This is an internal testlib warning that should not appear in silent test output" type="warn" -->
- <!-- message="This is a debug message that should not appear in silent test output" type="qdebug" -->
- <!-- message="This is a critical message that should not appear in silent test output" type="system" -->
- <!-- message="This is an info message that should not appear in silent test output" type="qinfo" -->
- <!-- message="This is an internal testlib info message that should not appear in silent test output" type="info" -->
- <!-- message="This is a fatal error message that should still appear in silent test output" type="qfatal" -->
- </testcase>
- <system-err>
-<![CDATA[This test should SKIP]]>
-<![CDATA[This is a warning that should not appear in silent test output]]>
-<![CDATA[This is an internal testlib warning that should not appear in silent test output]]>
-<![CDATA[This is a debug message that should not appear in silent test output]]>
-<![CDATA[This is a critical message that should not appear in silent test output]]>
-<![CDATA[This is an info message that should not appear in silent test output]]>
-<![CDATA[This is an internal testlib info message that should not appear in silent test output]]>
-<![CDATA[This is a fatal error message that should still appear in silent test output]]>
- </system-err>
-</testsuite>