class Minitest::CompositeReporter
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/minitest.rbs class Minitest::CompositeReporter < Minitest::AbstractReporter def record: (Minitest::Result result) -> ["Array", ["Minitest::SummaryReporter", "Minitest::ProgressReporter"]] end
def << reporter
def << reporter self.reporters << reporter end
def initialize *reporters # :nodoc:
def initialize *reporters # :nodoc: super() self.reporters = reporters end
def io # :nodoc:
def io # :nodoc: reporters.first.io end
def passed? # :nodoc:
def passed? # :nodoc: self.reporters.all?(&:passed?) end
def prerecord klass, name # :nodoc:
def prerecord klass, name # :nodoc: self.reporters.each do |reporter| # TODO: remove conditional for minitest 6 reporter.prerecord klass, name if reporter.respond_to? :prerecord end end
def record result # :nodoc:
Experimental RBS support (using type sampling data from the type_fusion
project).
def record: (Minitest::Result result) -> ["Array", ["Minitest::SummaryReporter", "Minitest::ProgressReporter"]]
This signature was generated using 1 sample from 1 application.
def record result # :nodoc: self.reporters.each do |reporter| reporter.record result end end
def report # :nodoc:
def report # :nodoc: self.reporters.each(&:report) end
def start # :nodoc:
def start # :nodoc: self.reporters.each(&:start) end