rktest.setSuiteStandards {rkwardtests} | R Documentation |
Set RKWard plugin test suite standards
rktest.setSuiteStandards(suite, testroot=getwd(), file=TRUE)
suite |
Character string naming the test suite to set standards for. |
testroot |
Path to the test root directory, defaults to the working directory. |
file |
Logical: If suite is already a present R object, set this to FALSE.
Otherwise it is assumed to be a file and fed to source . |
Use this function after you plugin passed all tests to set the resulting code, output and R messages as the standard that will be compared to during following tests.
The function simply changes the names of the previously created files, specifically adding the prefix "RKTestStandard.".
Thomas Friedrichsmeier thomas.friedrichsmeier@ruhr-uni-bochum.de
RKTestSuite-class
, rktest.makeplugintests
## Not run: rktest.setSuiteStandards("rkward_application_tests.R") ## End(Not run)