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.



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

#dumpObject



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

def dump; end

#endObject



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