Class: DeepTest::Spec::WorkUnit::ResultReporter
- Inherits:
-
Object
- Object
- DeepTest::Spec::WorkUnit::ResultReporter
- Defined in:
- lib/deep_test/spec/work_unit.rb
Instance Attribute Summary collapse
-
#result(output) ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #add_example_group(example_group) ⇒ Object
- #dump ⇒ Object
- #end ⇒ Object
- #example_finished(example, error) ⇒ Object
- #example_started(name) ⇒ Object
-
#initialize(identifier) ⇒ ResultReporter
constructor
A new instance of ResultReporter.
- #start(example) ⇒ Object
Constructor Details
#initialize(identifier) ⇒ ResultReporter
Returns a new instance of ResultReporter.
37 38 39 |
# File 'lib/deep_test/spec/work_unit.rb', line 37 def initialize(identifier) @identifier = identifier end |
Instance Attribute Details
#result(output) ⇒ Object (readonly)
Returns the value of attribute result.
35 36 37 |
# File 'lib/deep_test/spec/work_unit.rb', line 35 def result @result end |
Instance Method Details
#add_example_group(example_group) ⇒ Object
41 |
# File 'lib/deep_test/spec/work_unit.rb', line 41 def add_example_group(example_group); end |
#dump ⇒ Object
42 |
# File 'lib/deep_test/spec/work_unit.rb', line 42 def dump; end |
#end ⇒ Object
43 |
# File 'lib/deep_test/spec/work_unit.rb', line 43 def end; end |
#example_finished(example, error) ⇒ Object
46 47 48 |
# File 'lib/deep_test/spec/work_unit.rb', line 46 def example_finished(example, error) @example, @error = example, error end |
#example_started(name) ⇒ Object
44 |
# File 'lib/deep_test/spec/work_unit.rb', line 44 def example_started(name); end |
#start(example) ⇒ Object
54 |
# File 'lib/deep_test/spec/work_unit.rb', line 54 def start(example); end |