Module: Avm::Git::Issue::Complete::Test

Defined in:
lib/avm/git/issue/complete/test.rb

Instance Method Summary collapse

Instance Method Details

#test_resultObject



14
15
16
17
18
19
20
# File 'lib/avm/git/issue/complete/test.rb', line 14

def test_result
  infom 'Running tests...'
  test_performer.units.each do |single|
    return ::Avm::Result.error(test_failed_result_message(single)) if single.failed?
  end
  ::Avm::Result.success('all passed')
end