This function imports a test case XML definition and adds it to the test collection.
# S4 method for RTestCollection
importTCsFromDir(object, xml.dPath,
f.pattern = "\\.xml$", f.igncase = FALSE)
(object
) The RTestCollection-class
object
(character
) Path to directory containing the XML files
(character
) An optional regular expression to search the input
directory. Only file names which match the regular expression will be
returned (passed as argument to list.files
).
(logical
) Should pattern-matching be case-insensitive or nt
(passed as argument to list.files
).