View source: R/testthat_shinyjster.R
testthat_shinyjster | R Documentation |
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"
)
test_name |
suffix to add to the test name for |
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 |
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.
test_jster()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.