JUnit test result schema for the Apache Ant JUnit and JUnitReport tasks
Copyright © 2011, Windy Road Technology Pty. Limited
The Apache Ant JUnit XML Schema is distributed under the terms of the Apache License Version 2.0 http://www.apache.org/licenses/
Permission to waive conditions of this license may be requested from Windy Road Support (http://windyroad.org/support).
Contains an aggregation of testsuite results
Derived from testsuite/@name in the non-aggregated documents
Starts at '0' for the first testsuite and is incremented by 1 for each following testsuite
Contains the results of exexuting a testsuite
Properties (e.g., environment settings) set during test execution
Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace
The error message. e.g., if a java exception is thrown, the return value of getMessage()
The type of error that occured. e.g., if a java execption is thrown the full class name of the exception.
Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace
The message specified in the assert
The type of the assert.
Name of the test method
Full class name for the class the test method is in.
Time taken (in seconds) to execute the test
Data that was written to standard out while the test was executed
Data that was written to standard error while the test was executed
Full class name of the test for non-aggregated testsuite documents. Class name without the package for aggregated testsuites documents
when the test was executed. Timezone may not be specified.
Host on which the tests were executed. 'localhost' should be used if the hostname cannot be determined.
The total number of tests in the suite
The total number of tests in the suite that failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals
The total number of tests in the suite that errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test.
Time taken (in seconds) to execute the tests in the suite