Skip to contents

Stress tests

Usage

test_stress(skip = NULL, ctx = get_default_context())

Arguments

skip

[character()]
A vector of regular expressions to match against test names; skip test if matching any. To improve precision, the regular expressions are matched against the entire test name minus a possible suffix _N where N is a number. For example, skip = "exists_table" will skip both "exists_table_1" and "exists_table_2", but not "there_exists_table".

ctx

[DBItest_context]
A test context as created by make_context().

Value

Called for its side effect of running the tests with testthat. Returns a logical vector with one element per test selected by run_only: TRUE for a test that ran without failure, FALSE for one that failed or was excluded by skip.