Learn R Programming

CBTF (version 0.6.0)

print.cbtf: Print the results from a fuzz run

Description

This formats the results from a fuzz run with colours and prints them to the terminal.

Usage

# S3 method for cbtf
print(x, show = c("fail", "warn"), ...)

Value

No return value, called for side effects.

Arguments

x

An object of class cbtf.

show

A character vector representing the subset of results be printed, any of "fail", "warn", "skip", "ok" and "all".

...

Further arguments passed to or from other methods. These are currently ignored.

Details

The use of unicode icons in the output messages can be disabled by setting options(cli.unicode = FALSE).

See Also

summary.cbtf

Examples

Run this code
res <- fuzz(funs = c("list", "matrix", "mean"),
            what = test_inputs(c("numeric", "raw")))
print(res)
print(res, show = "all")

Run the code above in your browser using DataLab