| BiodbTestMsgAck | R Documentation |
A class for acknowledging messages during tests.
A class for acknowledging messages during tests.
This observer is used to call a testthat::expect_*() method each time a message is received. This is used when running tests on Travis-CI, so Travis does not stop tests because no change is detected in output.
new()New instance initializer.
BiodbTestMsgAck$new()
Nothing.
notifyProgress()Call back method used to get progress advancement of a long process.
BiodbTestMsgAck$notifyProgress(what, index, total)
whatThe reason as a character value.
indexThe index number representing the progress.
totalThe total number to reach for completing the process.
Nothing.
clone()The objects of this class are cloneable with this method.
BiodbTestMsgAck$clone(deep = FALSE)
deepWhether to make a deep clone.
# To use the acknowledger, set ack=TRUE when creating the Biodb test # instance: biodb <- biodb::createBiodbTestInstance(ack=TRUE) # Terminate the BiodbMain instance biodb$terminate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.