tests/testthat/test-golem-recommended.R

context("golem tests")

library(golem)

testthat::test_that("app ui", {
  ui <- app_ui()
  golem::expect_shinytaglist(ui)
})

testthat::test_that("app server", {
  server <- app_server
  testthat::expect_is(server, "function")
})
HelBor/wpm documentation built on June 15, 2021, 4:16 p.m.