Class: Oktest::SimpleReporter
- Inherits:
-
BaseReporter
- Object
- Reporter
- BaseReporter
- Oktest::SimpleReporter
- Defined in:
- lib/oktest.rb
Constant Summary
Constants inherited from BaseReporter
BaseReporter::CHARS, BaseReporter::LABELS
Instance Attribute Summary
Attributes inherited from BaseReporter
Instance Method Summary collapse
-
#enter_scope(scope) ⇒ Object
; [!xfd5o] reports filename.
- #exit_scope(scope) ⇒ Object
- #exit_spec(spec, depth, status, error, parent) ⇒ Object
Methods inherited from BaseReporter
#enter_all, #enter_spec, #enter_topic, #exit_all, #exit_topic, #initialize
Methods inherited from Reporter
#counts, #enter_all, #enter_spec, #enter_topic, #exit_all, #exit_topic
Constructor Details
This class inherits a constructor from Oktest::BaseReporter
Instance Method Details
#enter_scope(scope) ⇒ Object
; [!xfd5o] reports filename.
1620 1621 1622 |
# File 'lib/oktest.rb', line 1620 def enter_scope(scope) print "#{scope.filename}: " end |
#exit_scope(scope) ⇒ Object
1624 1625 1626 1627 |
# File 'lib/oktest.rb', line 1624 def exit_scope(scope) puts() print_exceptions() end |