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)
Arguments
object |
(object ) The RTestCollection-class object |
xml.dPath |
(character ) Path to directory containing the XML files |
f.pattern |
(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 ). |
f.igncase |
(logical ) Should pattern-matching be case-insensitive or nt
(passed as argument to list.files ). |
See also