Module: MiniTest::Reporter

Instance Method Summary collapse

Instance Method Details

#after_suite(suite)



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

def after_suite(suite); end

#after_suites(suites, type)



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

def after_suites(suites, type); end

#before_suite(suite)



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

def before_suite(suite); end

#before_suites(suites, type)



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

def before_suites(suites, type); end

#before_test(suite, test)



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

def before_test(suite, test); end

#error(suite, test, test_runner)



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

def error(suite, test, test_runner); end

#failure(suite, test, test_runner)



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

def failure(suite, test, test_runner); end

#output



7
8
9
# File 'lib/minitest/reporter.rb', line 7

def output
  runner.output
end

#pass(suite, test, test_runner)



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

def pass(suite, test, test_runner); end


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

def print(*args)
  runner.output.print(*args)
end

#puts(*args)



19
20
21
# File 'lib/minitest/reporter.rb', line 19

def puts(*args)
  runner.output.puts(*args)
end

#runner



3
4
5
# File 'lib/minitest/reporter.rb', line 3

def runner
  MiniTest::Unit.runner
end

#skip(suite, test, test_runner)



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

def skip(suite, test, test_runner); end

#verbose?Boolean

Returns:

  • (Boolean)


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

def verbose?
  runner.verbose
end