Description Usage Arguments Author(s) See Also Examples
Tests imported Test Cases
1 2 3 |
object |
( |
test.TCs |
( |
test.for |
( |
out.fPath |
( |
open |
( |
... |
( |
Matthias Pfeifer matthias.pfeifer@roche.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | testCollection <- new("RTestCollection",
project.name = "RTest Vignette",
project.details = "Example test exectuion",
tester = "Example tester",
test.start = format(Sys.time(), "%Y-%m-%d %H:%M:%S"))
TCDir <- list.dirs(find.package("RTest"),recursive = TRUE) %>%
grep(pattern = "xml-templates", value = TRUE)
message("Test Adapter being used is defined in Function")
message("test.RTest.test_returnValue_data.frame_cellbycell")
testCollection <- importTCsFromDir(testCollection,
xml.dPath = TCDir[1],f.pattern = "RTest_TC-01.xml")
testCollection <- exec(testCollection)
outf <- tempfile(fileext=".html")
writeExecSummary.html(testCollection, out.fPath = outf,open = FALSE)
stopifnot(any(grepl("passed",readLines(outf))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.