verifyTestCaseDefinitions {wyz.code.offensiveProgramming} | R Documentation |
Verify Test Case Definitions
Description
Checks for test cases definition compliance and dectects uncompliances.
Usage
verifyTestCaseDefinitions(object_o_1, requiresFullInstrumentation_b_1 = TRUE)
Arguments
object_o_1 |
The |
requiresFullInstrumentation_b_1 |
a |
Details
When requiresFullInstrumentation_b_1
is TRUE
, each function
must have an entry in the test case parameter definition.
Value
A list
with names
validity |
a single |
class |
the class name of the provided |
intent |
the stage of the failure, provides hint about the faced issue |
message |
some hints to resolve the issue(s). |
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
Refer to defineTestCaseDefinitionsParameterName
.
Examples
##---- typical case ----
library('data.table')
source(system.file('code-samples/tcd-defs/good/full/AdditionTC.R',
package = 'wyz.code.offensiveProgramming'))
tc <- AdditionTC()
print(verifyTestCaseDefinitions(tc))
[Package wyz.code.offensiveProgramming version 1.1.24 Index]