runRNMImportTests: run package regression tests

Description Usage Arguments Details Value Author(s) Examples

View source: R/runRNMImportTests.R

Description

Executes the package regression tests, and optionally produces one or two html reports. The test suite is run with the RUnit package.

Usage

1
2
3
runRNMImportTests(TestPath = system.file(package = "RNMImport", "unittests"),
  ExcludeFolders = NULL, TestResult = NULL, ResultsType = c("html",
  "text"))

Arguments

TestPath

Path of the folder which contains the test scripts.

ExcludeFolders

The folders are not tested.

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 runTestSuite of RUnit.

Author(s)

Mango Solutions

Examples

1
2
3
4
5
## Not run: 
x <- runRNMImportTests()
summary(x)

## End(Not run)

MangoTheCat/RNMImport documentation built on Aug. 5, 2018, 4:09 p.m.