test_reactor: Reactor testing Environment

Description Usage Arguments Value See Also

View source: R/test.R

Description

Environment which sets up and runs Shiny App tests.

Usage

1
2
3
4
5
6
7
8
9
test_reactor(
  expr,
  test_path = tempdir(),
  test_ip = "http://127.0.0.1",
  test_port = 6012,
  test_driver = firefox_driver(test_path = test_path),
  processx_args = runApp_args(test_port, test_path),
  processx_cleanup = TRUE
)

Arguments

expr

expressions that drive the application

test_path

character, path to run the test in. Default: tempdir()

test_ip

character, IP address to run the App. Default: 'http://127.0.0.1'

test_port

numeric, port to run the App. Default: 6012

test_driver

remoteDriver, Default: firefox_driver(test_path = test_path)

processx_args

list, arguments to pass to temporary session that serves the App. Default: runApp_args(test_ip, test_path)

processx_cleanup

logical, cleanup the artifacts created by processx. Default: TRUE

Value

whereami counter data.frame

See Also

process


yonicd/reactor documentation built on Oct. 12, 2020, 3:20 a.m.