call_that_test_remote: Runs a test script against a remote connection

Description Usage Arguments

View source: R/callthat_session.R

Description

Runs a test script against a remote connection

Usage

1
2
3
4
5
6
7
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.


edgararuiz/callthat documentation built on Dec. 20, 2021, 3:19 a.m.