Module: MiniTest::Reporter

Instance Method Summary collapse

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

#after_test(suite, test)



32
# File 'lib/minitest/reporter.rb', line 32

def after_test(suite, test); 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)



36
# File 'lib/minitest/reporter.rb', line 36

def error(suite, test, test_runner); end

#failure(suite, test, test_runner)



35
# File 'lib/minitest/reporter.rb', line 35

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)



33
# File 'lib/minitest/reporter.rb', line 33

def pass(suite, test, test_runner); end


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)



34
# File 'lib/minitest/reporter.rb', line 34

def skip(suite, test, test_runner); end

#verbose?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/minitest/reporter.rb', line 15

def verbose?
  runner.verbose
end