This reporter includes detailed results about each test and summaries, written to a file (or stdout) in jUnit XML format. This can be read by the Jenkins Continuous Integration System to report on a dashboard etc. Requires the xml2 package.
An object of class
R6ClassGenerator of length 24.
To fit into the jUnit structure, context() becomes the
name as well as the base of the
<testcase> classname. The
test_that() name becomes the rest of the
The deparsed expect_that() call becomes the
On failure, the message goes into the
<failure> node message
argument (first line only) and into its text content (full message).
Execution time and some other details are also recorded.
References for the jUnit XML format: http://llg.cubic.org/docs/junit/