ExtTests {biodb} | R Documentation |
A class for generating test files.
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.
biodb::ExtGenerator
-> ExtTests
new()
Constructor
ExtTests$new(...)
...
See the constructor of ExtGenerator for the parameters.
A new instance.
clone()
The objects of this class are cloneable with this method.
ExtTests$clone(deep = FALSE)
deep
Whether to make a deep clone.
# 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()