Module: MiniTest::Reporter
- Included in:
- MiniTest::Reporters::DefaultReporter, MiniTest::Reporters::GuardReporter, MiniTest::Reporters::JUnitReporter, MiniTest::Reporters::ProgressReporter, MiniTest::Reporters::RubyMateReporter, MiniTest::Reporters::SpecReporter
- Defined in:
- lib/minitest/reporter.rb
Instance Method Summary collapse
- #after_suite(suite)
- #after_suites(suites, type)
- #before_suite(suite)
- #before_suites(suites, type)
- #before_test(suite, test)
- #error(suite, test, test_runner)
- #failure(suite, test, test_runner)
- #filter_backtrace(backtrace)
- #output
- #pass(suite, test, test_runner)
- #print(*args)
- #puts(*args)
- #runner
- #skip(suite, test, test_runner)
- #verbose? ⇒ Boolean
Instance Method Details
#after_suite(suite)
30 |
# File 'lib/minitest/reporter.rb', line 30 def after_suite(suite); end |
#after_suites(suites, type)
28 |
# File 'lib/minitest/reporter.rb', line 28 def after_suites(suites, type); end |
#before_suite(suite)
29 |
# File 'lib/minitest/reporter.rb', line 29 def before_suite(suite); end |
#before_suites(suites, type)
27 |
# File 'lib/minitest/reporter.rb', line 27 def before_suites(suites, type); end |
#before_test(suite, test)
31 |
# File 'lib/minitest/reporter.rb', line 31 def before_test(suite, test); end |
#error(suite, test, test_runner)
35 |
# File 'lib/minitest/reporter.rb', line 35 def error(suite, test, test_runner); end |
#failure(suite, test, test_runner)
34 |
# File 'lib/minitest/reporter.rb', line 34 def failure(suite, test, test_runner); end |
#filter_backtrace(backtrace)
7 8 9 |
# File 'lib/minitest/reporter.rb', line 7 def filter_backtrace(backtrace) MiniTest.filter_backtrace(backtrace) end |
#output
11 12 13 |
# File 'lib/minitest/reporter.rb', line 11 def output runner.output end |
#pass(suite, test, test_runner)
32 |
# File 'lib/minitest/reporter.rb', line 32 def pass(suite, test, test_runner); end |
#print(*args)
19 20 21 |
# File 'lib/minitest/reporter.rb', line 19 def print(*args) runner.output.print(*args) end |
#puts(*args)
23 24 25 |
# File 'lib/minitest/reporter.rb', line 23 def puts(*args) runner.output.puts(*args) end |
#runner
3 4 5 |
# File 'lib/minitest/reporter.rb', line 3 def runner Unit.runner end |
#skip(suite, test, test_runner)
33 |
# File 'lib/minitest/reporter.rb', line 33 def skip(suite, test, test_runner); end |
#verbose? ⇒ Boolean
15 16 17 |
# File 'lib/minitest/reporter.rb', line 15 def verbose? runner.verbose end |