Files
shiny/tests/testthat/test-apps.R
2017-09-07 21:32:00 -05:00

13 lines
311 B
R

context("apps")
if (dir.exists("apps")) {
app_dirs <- Filter(dir.exists, dir("apps", full.names = TRUE))
if (length(app_dirs) > 0) {
for (app_dir in app_dirs) {
test_that(basename(app_dir), {
shinytest::expect_pass(shinytest::testApp(app_dir, compareImages = FALSE))
})
}
}
}