inst/app/no-test-app-function.R

context("app-function")
# This file is for testing the applications in the app/ directory.

library(shinytest)

test_that("shiny_app() works", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()
  
  expect_pass(testApp("./apps/", compareImages = FALSE))
})
PascalCrepey/HospitalNetwork documentation built on March 7, 2023, 5:41 a.m.