runTestCase {wyz.code.offensiveProgramming} | R Documentation |
Run test cases
Description
Run specified test cases under the given evaluation mode
Usage
runTestCase(object_o_1, testCaseIndexes_i, evaluationMode_o_1 = EvaluationMode())
Arguments
object_o_1 |
The R |
testCaseIndexes_i |
a |
evaluationMode_o_1 |
the evaluation mode to use. see |
Value
A list
with two names
raw |
a |
synthesis |
a summary |
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
Refer to defineEvaluationModes
.
Examples
##---- typical case ----
library('data.table')
source(system.file('code-samples/both-defs/good/full/AdditionTCFI_G1.R',
package = 'wyz.code.offensiveProgramming'))
em <- EvaluationMode('type_checking_enforcement')
runTestCase(AdditionTCFI_G1(), c(3, 5, 7), em)
[Package wyz.code.offensiveProgramming version 1.1.24 Index]