call_that_available_tests: Matches APIs to tests

Description Usage Arguments Details

View source: R/callthat_session.R

Description

Matches APIs to tests

Usage

1
2
3
4
call_that_available_tests(
  test_directory = "tests/testthat",
  plumber_directory = "inst/plumber"
)

Arguments

test_directory

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

plumber_directory

Location of the plumber APIs. Defaults to 'inst/plumber'.

Details

It looks for test scripts with the prefix 'test-plumber-...'. It matches the last part of the script's name and matches it to plumber API inside the 'inst/plumber' folder.


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