DBItest (version 1.3)

test_getting_started: 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, ctx = get_default_context())

Arguments

skip
[character()] A vector of regular expressions to match against test names; skip test if matching any.
ctx
[DBItest_context] A test context as created by make_context.

Details

This function defines the following tests:
has_context
make_context() must be called before calling any of the test_ functions in this package

package_dependencies
Can relate the driver to an installed (or devtools-loaded) package; package depends (!) on "DBI" and imports "methods"
. This test requires the devtools package and will be skipped if it is not installed.
package_name
Optional: Package name starts with R.

See Also

Other tests: test_compliance, test_connection, test_driver, test_meta, test_result, test_sql