Learn R Programming

wyz.code.offensiveProgramming (version 1.1.24)

verifyTestCaseDefinitions: Verify Test Case Definitions

Description

Checks for test cases definition compliance and dectects uncompliances.

Usage

verifyTestCaseDefinitions(object_o_1, requiresFullInstrumentation_b_1 = TRUE)

Value

A list with names

validity

a single boolean value

class

the class name of the provided object

intent

the stage of the failure, provides hint about the faced issue

message

some hints to resolve the issue(s).

Arguments

object_o_1

The objectto be considered

requiresFullInstrumentation_b_1

a boolean stating if full instrumentation is required

Author

tools:::Rd_package_author("wyz.code.offensiveProgramming")

Maintainer: tools:::Rd_package_maintainer("wyz.code.offensiveProgramming")

Details

When requiresFullInstrumentation_b_1 is TRUE, each function must have an entry in the test case parameter definition.

See Also

Refer to defineTestCaseDefinitionsParameterName.

Examples

Run this code
##---- 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))

Run the code above in your browser using DataLab