Runs the tests associated with this Shiny app
runTests(appDir = ".", filter = NULL, assert = TRUE, envir = globalenv())
The base directory for the application.
Logical value which determines if an error should be thrown if any error is captured.
Parent testing environment in which to base the individual testing environments.
.R files in the top-level of
tests/ much like
R CMD check.
These files are typically simple runners for tests nested in other
A data frame classed with the supplemental class
The data frame has the following columns:
|File name of the runner script in |
|Whether or not the runner script signaled an error when sourced.|
|any or ||The return value of the runner|
recommended placing tests at the top-level of the
This older folder structure is not supported by runTests.
shinyAppTemplate() for more details.