Description Usage Arguments Details Value Author(s) Examples
Run unit tests.
1 2 3 | RwordsegTest(TestPath = system.file(package = "Rwordseg", "unittests"),
TestResult = NULL, ResultsType = c("html", "text"),
testFileRegexp = "^runit\..+\.[rR]$")
|
TestPath |
Path of the folder which contains the test scripts. |
TestResult |
Name of the report file. |
ResultsType |
'html' or 'text'. |
Run the unit tests by RUnit package, and generate a html or text report.
The results of function
[RUnit]runTestSuite
.
Jian Li <rweibo@sina.com>
1 2 3 4 5 | ## Not run:
x <- RwordsegTest(TestResult = "Rwordseg_tests")
summary(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.