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)

OOmegaPPanDDa/Rwordseg documentation built on May 7, 2019, 8:55 p.m.