Class: Minitest::TestProf::BaseReporter
- Inherits:
-
AbstractReporter
- Object
- AbstractReporter
- Minitest::TestProf::BaseReporter
show all
- Includes:
- TestProf::Logging
- Defined in:
- lib/minitest/base_reporter.rb
Overview
Constant Summary
TestProf::Logging::COLORS
Instance Attribute Summary collapse
Instance Method Summary
collapse
#build_log_msg, #colorize, #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
#io ⇒ Object
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
26
|
# File 'lib/minitest/base_reporter.rb', line 26
def after_test(test); end
|
#before_test(test) ⇒ Object
22
|
# File 'lib/minitest/base_reporter.rb', line 22
def before_test(test); end
|
#prerecord(group, example) ⇒ Object
20
|
# File 'lib/minitest/base_reporter.rb', line 20
def prerecord(group, example); end
|
#record ⇒ Object
24
|
# File 'lib/minitest/base_reporter.rb', line 24
def record(*); end
|
#report ⇒ Object
28
|
# File 'lib/minitest/base_reporter.rb', line 28
def report; end
|
#start ⇒ Object
18
|
# File 'lib/minitest/base_reporter.rb', line 18
def start; end
|