tests/testthat/test-dropdownbutton.R

context("test-dropdownButton")

library(shinytest)

test_that("dropdownButton module works", {
  skip_on_cran()
  skip_if_not(shinytest::dependenciesInstalled())

  appdir <- system.file("examples", "dropdownButton", package = "shinyThings")
  expect_pass(testApp(appdir, compareImages = FALSE))
})
GerkeLab/grkShinyThings documentation built on Nov. 24, 2019, 4:11 p.m.