test_getting_started: Getting started with testing

View source: R/test-getting-started.R

test_getting_startedR Documentation

Getting started with testing

Description

Tests very basic features of a DBI driver package, to support testing and test-first development right from the start.

Usage

test_getting_started(skip = NULL, run_only = NULL, ctx = get_default_context())

Arguments

skip

⁠[character()]⁠
A vector of regular expressions to match against test names; skip test if matching any. 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".

run_only

⁠[character()]⁠
A vector of regular expressions to match against test names; run only these tests. The regular expressions are matched against the entire test name.

ctx

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

See Also

Other tests: test_arrow(), test_compliance(), test_connection(), test_driver(), test_meta(), test_result(), test_sql(), test_stress(), test_transaction()


r-dbi/DBItest documentation built on Jan. 26, 2024, 1:03 a.m.