Class: Test::Unit::UI::RDox::TestRunner
- Inherits:
-
SpecDox::TestRunner
- Object
- Console::TestRunner
- SpecDox::TestRunner
- Test::Unit::UI::RDox::TestRunner
- Defined in:
- lib/test/spec/rdox.rb
Instance Method Summary collapse
- #finished(elapsed_time) ⇒ Object
- #indent(depth) ⇒ Object
- #output_heading(heading) ⇒ Object
- #output_item(item) ⇒ Object
Instance Method Details
#finished(elapsed_time) ⇒ Object
14 15 16 17 |
# File 'lib/test/spec/rdox.rb', line 14 def finished(elapsed_time) nl output_result end |
#indent(depth) ⇒ Object
19 20 21 22 |
# File 'lib/test/spec/rdox.rb', line 19 def indent(depth) @prefix = "" @headprefix = "==" + "=" * depth end |
#output_heading(heading) ⇒ Object
6 7 8 |
# File 'lib/test/spec/rdox.rb', line 6 def output_heading(heading) output "#{@headprefix} #{heading}" end |
#output_item(item) ⇒ Object
10 11 12 |
# File 'lib/test/spec/rdox.rb', line 10 def output_item(item) output_no_nl "* #{item}" end |