constructTestsuiteTag: Construct JUnit </testsuite> tag

View source: R/constructJUnitTag.R

constructTestsuiteTagR Documentation

Construct JUnit ⁠</testsuite>⁠ tag

Description

Construct the ⁠</testsuite>⁠ tag of a tinytest, given all the tinytest results from a single test file.

Usage

constructTestsuiteTag(testsFile, id)

Arguments

testsFile

tinytests2JUnit | tinytests -object with all test results of a specified test file. At least a single test is expected.

id

integer(1) testsuite id.

Details

In case a tinytest2JUnit is provided following additional info can be reported:

  • testsuite duration.

  • timestamp when the testsuite was performed.

  • hostname where the testsuite was ran.

Value

XMLtag: with tag-name = ⁠</testsuite>⁠ that contains all the test results per test file.


tinytest2JUnit documentation built on June 22, 2024, 9:18 a.m.