Description Usage Arguments Details Author(s) See Also
This function creates and saves a default test method for a RTest adapter with predefined arguments (see 'Details'). It will automatically create the generic as well as the method for the test case class using S4 style.
1 2 | setTestMethod(f, signature = "RTestCase", definition = function(object,
inputData, execCache, xmlDef, ...) NULL, where = parent.frame())
|
f |
( |
signature |
( |
definition |
( |
where |
( |
This function is a wrapper for standardized and simplified creation of S4-syle test case
adapters required for RTest. The passed function has to be assigned to the corresponding test
case class, whichinherits RTestCollection-class
) and represents the adapter for
the respecive implementation of a test case type (i.e. XSD scheme). The passed function
definition has to be in the following format with the following parameters.
function(object, inputData, execCache, xmlDef, ... ) {
# implementation goes here
}
object
(object
) The RTestCase-class
object.
inputData
(list
) List with all input data provided in the XML test case.
execCache
(list
) List with cached results determined in the predecessor
test functions of a test case execution.
xmlDef
(XMLNode
) An object of class XMLNode
, which defines the
current test function.
...
Additional parameters passed to the individual test functions.
Matthias Pfeifer matthias.pfeifer@roche.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.