qt5base-lts/tests/auto/testlib
Tor Arne Vestbø 27db9e458c 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>
2020-02-03 13:48:25 +01:00
..
initmain QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00
outformat Test and document QTest::toHexRepresentation() 2018-11-08 15:22:21 +00:00
qabstractitemmodeltester test: migrate QAbstractItemModelTester to QRegularExpression 2019-06-10 09:32:36 +02:00
qsignalspy Introduce QSignalSpy constructor allows to spy on a meta method 2019-08-13 17:26:18 +02:00
selftests testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
testlib.pro QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00