View source: R/verifyTestCaseDefinitions.R
verifyTestCaseDefinitions | R Documentation |
Checks for test cases definition compliance and dectects uncompliances.
verifyTestCaseDefinitions(object_o_1, requiresFullInstrumentation_b_1 = TRUE)
object_o_1 |
The |
requiresFullInstrumentation_b_1 |
a |
When requiresFullInstrumentation_b_1
is TRUE
, each function
must have an entry in the test case parameter definition.
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). |
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to defineTestCaseDefinitionsParameterName
.
##---- 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.