tests/testthat/test-app-file.R

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

library(shinytest)

test_that("Tender Evaluation", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()

  # 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.
  appdir <- system.file(package = "tessa", "tender_evaluation")
  expect_pass(testApp(appdir, compareImages = FALSE))
})
lajh87/tessa documentation built on July 6, 2019, 12:06 a.m.