R/test-driver.R, and 7 more
test_all() calls all tests defined in this package (see the section
"Tests" below). This function supports running only one test by setting an
environment variable, e.g., set the
DBITEST_ONLY_RESULT to a nonempty
value to run only
test_some() allows testing one or more tests.
test_all(skip = NULL, run_only = NULL, ctx = get_default_context()) test_some(test, ctx = get_default_context(), dblog = TRUE)
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.
A vector of regular expressions to match against test names; run only these tests. The regular expressions are matched against the entire test name.
A test context as created by
A character vector of regular expressions describing the tests to run. The regular expressions are matched against the entire test name.
FALSE to disable dblog integration.
$ are used as prefix and suffix around the
regular expressions passed in the
This function runs the following tests, except the stress tests:
Getting started with testing
Test the "Driver" class
Test the "Connection" class
Test the "Result" class
Test SQL methods
Test metadata functions
Test transaction functions
Test full compliance to DBI
Stress tests (not tested with