ExtTests: Extension tests class

ExtTestsR Documentation

Extension tests class

Description

A class for generating test files.

Details

This class generates a test file for running biodb generic tests, and a test file containing an example of a custom test for this extension.

Super class

biodb::ExtGenerator -> ExtTests

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExtTests$new(...)
Arguments
...

See the constructor of ExtGenerator for the parameters.

Returns

Nothing.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExtTests$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# Generate a new package:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtTests$new(path=pkgFolder, dbName='foo.db', rcpp=TRUE,
                    remote=TRUE)$generate()


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.