Trait providing an apply method to which alert messages about a running suite of tests can be reported.
An Alerter is essentially
used to wrap a Reporter and provide easy ways to send alert messages
to that Reporter via an AlertProvided event.
Alerter contains an apply method that takes a string and
an optional payload object of type Any.
The Alerter 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 AlertProvided event.
For insight into the differences between Alerter, Notifier, and Informer, see the
main documentation for trait Alerting.
Trait providing an
apply
method to which alert messages about a running suite of tests can be reported.An
Alerter
is essentially used to wrap aReporter
and provide easy ways to send alert messages to thatReporter
via anAlertProvided
event.Alerter
contains anapply
method that takes a string and an optional payload object of typeAny
. TheAlerter
will forward the passed alertmessage
string to theReporter
as themessage
parameter, and the optional payload object as thepayload
parameter, of anAlertProvided
event.For insight into the differences between
Alerter
,Notifier
, andInformer
, see the main documentation for traitAlerting
.