Run tests for a Shiny application
testApp( appDir = ".", testnames = NULL, quiet = FALSE, compareImages = TRUE, interactive = is_interactive(), suffix = NULL )
Path to directory containing a Shiny app (e.g.
Test script(s) to run. The .R extension of the filename is
optional. For example,
Should output be suppressed? This is useful for automated testing.
Should screenshots be compared? It can be useful to set
If there are any differences between current results and expected results, provide an interactive graphical viewer that shows the changes and allows the user to accept or reject the changes.
An optional suffix for the expected results directory. For
example, if the suffix is