tinytests2JUnit: tinytestJUnit test results

[.tinytests2JUnitR Documentation

tinytestJUnit test results

Description

An object of class tinytests2JUnit. Note the plurar. A subclass of tinytest::tinytests() containing extra info recordings that are used in the export to JUnit.

Usage

## S3 method for class 'tinytests2JUnit'
x[i]

Arguments

x

tinytests2JUnit object to subset.

i

object to subset the x with.

Details

Following details are recorded when running the tests files and stored as additional attributes to the object:

  • fileDurations: named-numeric(n). Names = filename of tests files, value = duration in seconds on how long the test file took to run.

  • fileTimestamps: named-character(n). Names = filename of tests files, value = timestamp when the test was invoked.

  • fileHostnames: named-character(n). Names = filename of tests files, value = The hostname of the system that ran the tests. (Usefull in combination with clusters).

  • disabled: character. A character vector of filenames where no tests were ran. They are flagged as disabled tests.


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