Notifier

trait Notifier

Trait providing an apply method to which status updates about a running suite of tests can be reported.

An Notifier is essentially used to wrap a Reporter and provide easy ways to send status updates to that Reporter via an NoteProvided event. Notifier contains an apply method that takes a string and an optional payload object of type Any. The Notifier will forward the passed alert message string to the Reporter as the message parameter, and the optional payload object as the payload parameter, of an NoteProvided event.

For insight into the differences between Notifier, Alerter, and Informer, see the main documentation for trait Notifying.

class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(message: String, payload: Option[Any])(implicit pos: Position): Unit

Send a status update via an NoteProvided event to the reporter.

Send a status update via an NoteProvided event to the reporter.