Class: Minitest::TestProf::BaseReporter

Inherits:
AbstractReporter
  • Object
show all
Includes:
TestProf::Logging
Defined in:
lib/minitest/base_reporter.rb

Overview

:nodoc:

Constant Summary

Constants included from TestProf::Logging

TestProf::Logging::COLORS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TestProf::Logging

#log

Constructor Details

#initialize(io = $stdout, _options = {}) ⇒ BaseReporter

Returns a new instance of BaseReporter.



13
14
15
16
# File 'lib/minitest/base_reporter.rb', line 13

def initialize(io = $stdout, _options = {})
  @io = io
  inject_to_minitest_reporters if defined? Minitest::Reporters
end

Instance Attribute Details

#ioObject

Returns the value of attribute io.



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

def io
  @io
end

Instance Method Details

#after_test(test) ⇒ Object



30
31
# File 'lib/minitest/base_reporter.rb', line 30

def after_test(test)
end

#before_test(test) ⇒ Object



24
25
# File 'lib/minitest/base_reporter.rb', line 24

def before_test(test)
end

#prerecord(group, example) ⇒ Object



21
22
# File 'lib/minitest/base_reporter.rb', line 21

def prerecord(group, example)
end

#recordObject



27
28
# File 'lib/minitest/base_reporter.rb', line 27

def record(*)
end

#reportObject



33
34
# File 'lib/minitest/base_reporter.rb', line 33

def report
end

#startObject



18
19
# File 'lib/minitest/base_reporter.rb', line 18

def start
end