Class: Journo::Reporter
- Inherits:
-
Object
show all
- Defined in:
- lib/journo/reporter.rb
Constant Summary
collapse
- VERSION =
'0.1.0'
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)
-
#output
-
#pass(suite, test, test_runner)
-
#print(*args)
-
#puts(*args)
-
#runner
-
#skip(suite, test, test_runner)
-
#verbose? ⇒ Boolean
Instance Method Details
#after_suite(suite)
28
|
# File 'lib/journo/reporter.rb', line 28
def after_suite(suite); end
|
#after_suites(suites, type)
26
|
# File 'lib/journo/reporter.rb', line 26
def after_suites(suites, type); end
|
#before_suite(suite)
27
|
# File 'lib/journo/reporter.rb', line 27
def before_suite(suite); end
|
#before_suites(suites, type)
25
|
# File 'lib/journo/reporter.rb', line 25
def before_suites(suites, type); end
|
#before_test(suite, test)
29
|
# File 'lib/journo/reporter.rb', line 29
def before_test(suite, test); end
|
#error(suite, test, test_runner)
33
|
# File 'lib/journo/reporter.rb', line 33
def error(suite, test, test_runner); end
|
#failure(suite, test, test_runner)
32
|
# File 'lib/journo/reporter.rb', line 32
def failure(suite, test, test_runner); end
|
#output
9
10
11
|
# File 'lib/journo/reporter.rb', line 9
def output
runner.output
end
|
#pass(suite, test, test_runner)
30
|
# File 'lib/journo/reporter.rb', line 30
def pass(suite, test, test_runner); end
|
#print(*args)
17
18
19
|
# File 'lib/journo/reporter.rb', line 17
def print(*args)
runner.output.print(*args)
end
|
#puts(*args)
21
22
23
|
# File 'lib/journo/reporter.rb', line 21
def puts(*args)
runner.output.puts(*args)
end
|
#runner
5
6
7
|
# File 'lib/journo/reporter.rb', line 5
def runner
MiniTest::Unit.runner
end
|
#skip(suite, test, test_runner)
31
|
# File 'lib/journo/reporter.rb', line 31
def skip(suite, test, test_runner); end
|
#verbose? ⇒ Boolean
13
14
15
|
# File 'lib/journo/reporter.rb', line 13
def verbose?
runner.verbose
end
|