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
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
|
#record ⇒ Object
27
28
|
# File 'lib/minitest/base_reporter.rb', line 27
def record(*)
end
|
#report ⇒ Object
33
34
|
# File 'lib/minitest/base_reporter.rb', line 33
def report
end
|
#start ⇒ Object
18
19
|
# File 'lib/minitest/base_reporter.rb', line 18
def start
end
|