renv/library/R-4.0/x86_64-w64-mingw32/usethis/templates/junit-testthat.R

library(testthat)
library({{{ name }}})

if (requireNamespace("xml2")) {
  test_check("{{{ name }}}", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
} else {
  test_check("{{{ name }}}")
}
MarkNichollsDVSA/TestGolemApp documentation built on Feb. 13, 2021, 1:21 p.m.