testContext {biodb} | R Documentation

## Set a test context.

### Description

Define a context for tests using testthat framework. In addition to calling `testthat::context()`.

### Usage

    testContext(text)

### Arguments

`text` | The text to print as test context.

### Value

No value returned.

### Examples

    # Define a context before running tests:
    biodb::testContext("Test my database connector.")

    # Instantiate a BiodbMain instance for testing
    biodb <- biodb::createBiodbTestInstance()

    # Terminate the instance
    biodb$terminate()

[Package biodb version 1.0.4 Index]