test_in_local: Test apps using 'shiny::runTests()' using local libpath

View source: R/test-in-local.R

test_in_localR Documentation

Test apps using shiny::runTests() using local libpath

Description

Test apps using shiny::runTests() using local libpath

Usage

test_in_local(
  apps = apps_with_tests(repo_dir),
  ...,
  install = TRUE,
  assert = TRUE,
  timeout = 10 * 60,
  retries = 2,
  repo_dir = rprojroot::find_package_root_file()
)

Arguments

apps

applications within ⁠dir⁠ to run

...

ignored

install

If TRUE, installs shinyverse in the default libpath before running tests. App dependencies will always be installed if missing.

assert

logical value which will determine if assert_test_output() will be called on the result

timeout

Length of time allowed for an application's full test suit can run before determining it is a failure

retries

number of attempts to retry before declaring the test a failure

repo_dir

Location of local shinycoreci repo


rstudio/shinycoreci documentation built on April 15, 2024, 1:08 p.m.