RTest.getRTM: Function to return a risk tracibility matrix from a folder...

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

Function to return a risk tracibility matrix from a folder with XML files

Usage

1
2
3
4
5
RTest.getRTM(testcase.directory = list.dirs(find.package("RTest"),
  recursive = T) %>% grep(pattern = "xml-templates", value = T),
  f.pattern = "*.xml", project.name = "RTest Execution",
  project.details = "Example test exectuion",
  project.tester = "Example tester", ...)

Arguments

testcase.directory

(character) Location of the Test Case XML files

f.pattern

(character) An additional pattern to just search for specific files with certain names

project.name

(character) Name of the project mentioned in all cover pages

project.details

(character) Description of the project

project.tester

(character) Name of the Test executer

...

Additional arguments handed over to the exec,RTestCollection-method method

Value

No return value, but the command line output will show where to fund the report. Using the additional argument open=TRUE will open the report directly after execution

Author(s)

Sebastian Wolf sebastian@mail-wolf.de

Examples

1
2
3
4
5
6
7
8
9
library(magrittr)
directory_with_tests <- list.dirs(find.package('RTest'),recursive=TRUE) %>%
        grep(pattern="xml-templates",value=TRUE)

RTest::RTest.getRTM(
 testcase.directory = directory_with_tests[1],
  open=FALSE,
  f.pattern = "RTest_TC-generic.xml"
)

RTest documentation built on Dec. 4, 2019, 5:07 p.m.