tmcnTest: Run unit tests.

Description Usage Arguments Details Value Author(s) Examples

Description

Run unit tests.

Usage

1
2
tmcnTest(TestPath = system.file(package = "tmcn", "unittests"),
  TestResult = NULL, ResultsType = c("html", "text"))

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 <- tmcnTest(TestResult = "tmcn_tests")
summary(x)

## End(Not run)

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