dot-log: Logging (printing) the results of test cases

Description Usage Arguments Note Examples

Description

Logging (printing) the results of test cases

Usage

1
.log(info, pass, sep = "...", spaceLine = FALSE)

Arguments

info

character; description of the test case.

pass

boolean; was the test passed?

sep

character (default="..."); separates description from result.

spaceLine

boolean (default=F); should a blank line be added after.

Note

Internal function only for convenience

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
testPassed <- TRUE
testFailed <- FALSE
## Not run: 
.log('testing something', testPassed)
#testing something...OK
.log('testing other stuff', testFailed, spaceLine=TRUE)
#testing other stuff...FAIL
#
.log('testing more', testPassed, " ", TRUE)
#testing more OK

## End(Not run)

frankkramer-lab/RCX documentation built on July 14, 2021, 6:33 p.m.