constructTestsuitesTag {tinytest2JUnit}R Documentation

Construct the JUnit ⁠</testsuites>⁠ tag

Description

Convert the tinytests-object containing test across possibly multiple files into a JUnit ⁠</testsuites>⁠ tag.

Usage

constructTestsuitesTag(testResults)

Arguments

testResults

tinytests-object to convert into a JUnit XML object. Usually the result of calling tinytest::test_package() or tinytest::run_test_dir().

Details

Reference for JUnit XML format: https://llg.cubic.org/docs/junit/

Value

XMLtag: with tag-name = ⁠</testsuites>⁠. This is the root of the JUnit XML document.


[Package tinytest2JUnit version 1.0.3 Index]