run_tests.R

library(testthat)
library(shinytest)

testthis::test_that("Application works", {
  # Use compareImages=FALSE because the expected image screenshots were created
  # on a Mac, and they will differ from screenshots taken on the CI platform,
  # which runs on Linux.
  shinytest::expect_pass(shinytest::testApp("inst/application/",
                                            compareImages = FALSE))
})
jdgagnon/plotGrouper documentation built on May 14, 2019, 11:12 a.m.