RwordsegTest: Run unit tests.

Description Usage Arguments Details Value Author(s) Examples

Description

Run unit tests.

Usage

1
2
3
  RwordsegTest(TestPath = system.file(package = "Rwordseg", "unittests"),
    TestResult = NULL, ResultsType = c("html", "text"),
    testFileRegexp = "^runit\..+\.[rR]$")

Arguments

TestPath

Path of the folder which contains the test scripts.

TestResult

Name of the report file.

ResultsType

'html' or 'text'.

Details

Run the unit tests by RUnit package, and generate a html or text report.

Value

The results of function [RUnit]runTestSuite.

Author(s)

Jian Li <rweibo@sina.com>

Examples

1
2
3
4
5
## Not run: 
x <- RwordsegTest(TestResult = "Rwordseg_tests")
summary(x)

## End(Not run)


Search within the Rwordseg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.