constructTestsuitesTag {tinytest2JUnit}R Documentation

Construct the JUnit ⁠</testsuites>⁠ tag

Description

Convert the tinytests2Junit or tinytests-object containing test across possibly multiple files into a JUnit ⁠</testsuites>⁠ tag. More details are reported to the JUnit if a tinytests2JUnit object compared to the native tinytests object.

Usage

constructTestsuitesTag(testResults)

Arguments

testResults

⁠tinytests2Junit | ⁠tinytests⁠object to convert into a JUnit XML object Usually the result of [runTestDir()] for a⁠tinytests2JUnit⁠object or native⁠tinytests' produced by tinytest::test_package() or tinytest::run_test_dir().

Details

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

See details runTestDir() which additional info is recorded.

Value

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


[Package tinytest2JUnit version 1.1.2 Index]