Class: Avm::Sources::Tests::Performer

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/sources/tests/performer.rb

Instance Method Summary collapse

Instance Method Details

#failed_unitsObject



18
19
20
# File 'lib/avm/sources/tests/performer.rb', line 18

def failed_units
  units.select(&:failed?)
end

#non_failed_unitsObject



14
15
16
# File 'lib/avm/sources/tests/performer.rb', line 14

def non_failed_units
  units.reject(&:failed?)
end

#successful?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/avm/sources/tests/performer.rb', line 23

def successful?
  failed_units.none?
end