mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Define notification type for messages
This commit is contained in:
parent
76c525de52
commit
48fb293ba0
2 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,7 @@ module Spectator::Formatting
|
||||||
|
|
||||||
# Called whenever the example or framework produces a message.
|
# Called whenever the example or framework produces a message.
|
||||||
# This is typically used for logging.
|
# This is typically used for logging.
|
||||||
|
# The *notification* will be a `MessageNotification` type of object.
|
||||||
def message(_notification)
|
def message(_notification)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -17,4 +17,7 @@ module Spectator::Formatting
|
||||||
|
|
||||||
# Structure containing summarized information from the outcome of the test suite.
|
# Structure containing summarized information from the outcome of the test suite.
|
||||||
record SummaryNotification, report : Report
|
record SummaryNotification, report : Report
|
||||||
|
|
||||||
|
# Structure containing a debug or log message from the test suite.
|
||||||
|
record MessageNotification, message : String
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue