This method will test a single application on all of the available browsers shinyjster can test with on the given platform. For each browser, the app will be tested using test_jster().

testthat_shinyjster(
  test_name = NULL,
  app_dir = "../../",
  ...,
  browsers = c("chrome", "firefox", "edge"),
  timeout = 2 * 60,
  dimensions = "1200x1200"
)

Arguments

test_name

suffix to add to the test name for testthat::test_that(NAME, {})

app_dir

Defaults the app in the directory above

...

Ignored

browsers

Names of each browser to be tested.

timeout, dimensions

Parameters to be supplied to each browser

Details

This method should be called from a test file in the ./tests/testthat/ directory.

For each browser, a new testthat::test_that() test will be run. This allows for browsers to not effect the other tests.

See also