Class: Test::Unit::TestResult

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_parallel/runner/parent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



9
10
11
# File 'lib/rails_parallel/runner/parent.rb', line 9

def errors
  @errors
end

#failuresObject (readonly)

Returns the value of attribute failures.



9
10
11
# File 'lib/rails_parallel/runner/parent.rb', line 9

def failures
  @failures
end

Instance Method Details

#append(other) ⇒ Object



11
12
13
14
15
16
# File 'lib/rails_parallel/runner/parent.rb', line 11

def append(other)
  @run_count += other.run_count
  @assertion_count += other.assertion_count
  @failures  += other.failures
  @errors    += other.errors
end