Parse testthat output

parse_testthat_list_reporter(result, roll_up_ids = FALSE)

Arguments

result

List output as reported by testthat::ListReporter

roll_up_ids

If FALSE, the default, will leave duplicated Test ID's as is. If TRUE, will roll up any duplicated (non-NA) ID's so that they are unique and the passed/failed count reflects the total sums for a tests with a given ID. The test names for a set of rolled up ID's must share a common prefix, which will be used as the new test name. Any trailing spaces, slashes, colons, or underscores will be removed from the extracted prefix.

Value

A tibble formatted according to mrgvalidate::input_formats