JUnitXmlTestsListener
A tests listener that outputs the results it receives in junit xml report format.
Value parameters
- targetDir
-
directory in which test reports are generated
Attributes
- Graph
-
- Supertypes
Members list
Type members
Classlikes
Gathers data for one Test Suite. We map test groups to TestSuites. Each TestSuite gets its own output file.
Gathers data for one Test Suite. We map test groups to TestSuites. Each TestSuite gets its own output file.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Returns None
Does nothing, as we write each file after a suite is done.
Does nothing, as we write each file after a suite is done.
Attributes
- Definition Classes
Creates the output Dir
called for each class or equivalent grouping We map one group to one Testsuite, so for each Group we create JUnit XML file, and looks like this:
called for each class or equivalent grouping We map one group to one Testsuite, so for each Group we create JUnit XML file, and looks like this:
tests="z" hostname="example.com" name="eu.henkelmann.bla.SomeTest" time="0.23" timestamp="2018-01-01T10:00:00">
Attributes
- Definition Classes
Ends the current suite, wraps up the result and writes it to an XML file in the output folder that is named after the suite.
Ends the current suite, wraps up the result and writes it to an XML file in the output folder that is named after the suite.
Attributes
- Definition Classes
Starts a new, initially empty Suite with the given name.
Starts a new, initially empty Suite with the given name.
Attributes
- Definition Classes
Adds all details for the given even to the current suite.
Adds all details for the given even to the current suite.
Attributes
- Definition Classes
Deprecated methods
Attributes
- Deprecated
- true
Concrete fields
Current hostname so we know which machine executed the tests
Current hostname so we know which machine executed the tests
Attributes
all system properties as XML
all system properties as XML