Class: Minitest::ChatNotifierPlugin

Inherits:
SummaryReporter
  • Object
show all
Defined in:
lib/minitest/chat_notifier_plugin.rb

Defined Under Namespace

Classes: ExceptionLocation, Summary

Instance Method Summary collapse

Instance Method Details

#reportObject



10
11
12
13
# File 'lib/minitest/chat_notifier_plugin.rb', line 10

def report
  summary = Summary[(results.map { |result| ExceptionLocation[result.source_location] })]
  ::ChatNotifier.call(summary:)
end