output_results_excel {testdat} | R Documentation |
ListReporter
results in Excel formatOutput formatted ListReporter
results to an Excel workbook using
openxlsx. The workbook consists of a summary sheet
showing aggregated results for each context, and one sheet per context
showing details of each unsuccessful test.
output_results_excel(results, file)
results |
An object of class |
file |
Output file name |
The return value of openxlsx::saveWorkbook()
.
## Not run:
# Output the results from running all tests in a directory
x <- test_dir(".")
output_results_excel(x, "Test results.xlsx")
## End(Not run)