BiodbTestMsgAck-class {biodb} | R Documentation

## A class for acknowledging messages during tests.

### Description

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.

### Methods

`notifyProgress(what, index, total)`

  :

  Notify about the progress of an action.

  what: A short description of the action.

  index: A positive integer number indicating the progress.

  total: The maximum for "index". When reached, the action is completed.

  Returned value: None.

### Examples

    # To use the acknowledger, set ack=TRUE when creating the Biodb test
    # instance:
    biodb <- createBiodbTestInstance(ack=TRUE)

    # Terminate the BiodbMain instance
    biodb$terminate()

[Package biodb version 1.0.4 Index]