mstoolkitUnitTests: Unit/System Tests suite for the MSToolkit package

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mstoolkitUnitTests.R

Description

This function enables the user of the MSToolkit package to run the unit tests of the package.

Usage

1
mstoolkitUnitTests(htmlreport = FALSE, showdetails = TRUE)

Arguments

htmlreport

(Optional) A logical value. Print an html report for unit and system tests? FALSE by default

showdetails

(Optional) A logical value. Print the details in the text summary of the unit tests? TRUE by default

Details

The unit tests are based on the RUnit framework.

Value

The function does not return anything. It writes two files: reportUT.html for the unit tests and reportST.html for the system tests.

Author(s)

Mike K Smith mstoolkit@googlemail.com

References

Matthias Burger, Klaus Juenemann and Thomas Koenig (2007). RUnit: R Unit test framework. R package version 0.4.17. https://sourceforge.net/projects/runit/

RUnit and R CMD check http://wiki.r-project.org/rwiki/doku.php?id=developers:runit

See Also

runTestSuite

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## Not run: 
    mstoolkitUnitTests( htmlhelp = TRUE )
    
    # unit tests
    browseURL("reportUT.html")
    
    # system tests
    browseURL("reportST.html")
    
  
## End(Not run)

MSToolkit documentation built on May 2, 2019, 6:30 p.m.