Class: DeepTest::Spec::WorkUnit::ResultReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/deep_test/spec/work_unit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dumpObject



42
# File 'lib/deep_test/spec/work_unit.rb', line 42

def dump; end

#endObject



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