viewTestDiff: View differences in test results

Description Usage Arguments Value See Also

View source: R/view-diff.R

Description

View differences in test results

Usage

1
2
viewTestDiff(appDir = ".", testnames = NULL,
  interactive = base::interactive(), images = TRUE)

Arguments

appDir

Directory of the Shiny application that was tested.

testnames

A character vector of names of tests to compare. If NULL, compare all test results for which there are differences.

interactive

If TRUE, use the interactive diff viewer, which runs in a Shiny app. If FALSE, print a textual diff, generated by textTestDiff.

images

Compare screenshot images (only used when interactive is FALSE).

Value

A character vector the same length as testnames, with "accept" or "reject" for each test.

See Also

textTestDiff to get a text diff as a string.


rstudio/shinytest documentation built on Nov. 2, 2018, 8:59 a.m.