View differences in test results
viewTestDiff(appDir = ".", testnames = NULL,
interactive = base::interactive(), images = TRUE)Directory of the Shiny application that was tested.
A character vector of names of tests to compare. If NULL, compare all test results for which there are differences.
If TRUE, use the interactive diff viewer, which runs in a
Shiny app. If FALSE, print a textual diff, generated by
textTestDiff.
Compare screenshot images (only used when interactive is
FALSE).
A character vector the same length as testnames, with
"accept" or "reject" for each test.
textTestDiff to get a text diff as a string.