test_all

0th

Percentile

Run all tests

test_all() calls all tests defined in this package (see the section "Tests" below).

test_some() allows testing one or more tests, it works by constructing the skip argument using negative lookaheads.

Usage
test_all(skip = NULL, ctx = get_default_context())

test_some(test, 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().

test

[character] A character vector of regular expressions describing the tests to run.

Tests

This function runs the following tests, except the stress tests:

test_getting_started(): Getting started with testing

test_driver(): Test the "Driver" class

test_connection(): Test the "Connection" class

test_result(): Test the "Result" class

test_sql(): Test SQL methods

test_meta(): Test metadata functions

test_transaction(): Test transaction functions

test_compliance(): Test full compliance to DBI

test_stress(): Stress tests (not tested with test_all)

Aliases
  • test_all
  • test_some
Documentation reproduced from package DBItest, version 1.5-2, License: LGPL (>= 2)

Community examples

Looks like there are no examples yet.