recordTest {shinytest}R Documentation

Launch test event recorder for a Shiny app

Description

Launch test event recorder for a Shiny app

Usage

recordTest(app = ".", save_dir = NULL, load_mode = FALSE, seed = NULL,
  loadTimeout = 10000, shinyOptions = list())

Arguments

app

A ShinyDriver object, or path to a Shiny application.

save_dir

A directory to save stuff.

load_mode

A boolean that determines whether or not the resulting test script should be appropriate for load testing.

seed

A random seed to set before running the app. This seed will also be used in the test script.

loadTimeout

Maximum time to wait for the Shiny application to load, in milliseconds. If a value is provided, it will be saved in the test script.

shinyOptions

A list of options to pass to runApp(). If a value is provided, it will be saved in the test script.


[Package shinytest version 1.3.0 Index]