| testContext {biodb} | R Documentation |
Define a context for tests using testthat framework.
In addition to calling testthat::context().
testContext(text)
text |
The text to print as test context. |
No value returned.
# 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()