tests/testthat/test-golem-recommended.R

context("golem tests")

test_that("app ui", {
  ui <- app_ui()
  expect_is(ui, "shiny.tag.list")
})

test_that("app server", {
  server <- app_server
  expect_is(server, "function")
})
GabrielleDevaux/whatismypackage documentation built on July 2, 2019, 3:36 a.m.