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.
38 39 40 |
# File 'lib/deep_test/spec/work_unit.rb', line 38 def initialize(identifier) @identifier = identifier end |
Instance Attribute Details
#result(output) ⇒ Object (readonly)
Returns the value of attribute result.
36 37 38 |
# File 'lib/deep_test/spec/work_unit.rb', line 36 def result @result end |
Instance Method Details
#add_example_group(example_group) ⇒ Object
42 |
# File 'lib/deep_test/spec/work_unit.rb', line 42 def add_example_group(example_group); end |
#dump ⇒ Object
43 |
# File 'lib/deep_test/spec/work_unit.rb', line 43 def dump; end |
#end ⇒ Object
44 |
# File 'lib/deep_test/spec/work_unit.rb', line 44 def end; end |
#example_finished(example, error) ⇒ Object
47 48 49 |
# File 'lib/deep_test/spec/work_unit.rb', line 47 def example_finished(example, error) @example, @error = example, error end |
#example_started(name) ⇒ Object
45 |
# File 'lib/deep_test/spec/work_unit.rb', line 45 def example_started(name); end |
#start(example) ⇒ Object
55 |
# File 'lib/deep_test/spec/work_unit.rb', line 55 def start(example); end |