Runs a test script against a remote connection

call_that_test_remote(
  api_name = NULL,
  api_connection = NULL,
  testthat_reporter = testthat::ProgressReporter,
  test_directory = "tests/testthat",
  plumber_directory = "inst/plumber"
)

Arguments

api_name

Character vector with the name of the API

api_connection

Optional argument. A call_that_connection object.

testthat_reporter

Optional argument. The reporter to use when running

test_directory

Location of the test scripts. Defaults to 'test/testthat'.

plumber_directory

Location of the plumber APIs. Defaults to 'inst/plumber'. the test script. Defaults to testthat::ProgressReporter If none is passed, the pre-set remote connection set at the test script level will be used.