Module: Keeptesting::Common

Defined in:
lib/keeptesting/common.rb

Class Method Summary collapse

Class Method Details

.test_success?(test_output, failure_regex) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/keeptesting/common.rb', line 6

def self.test_success?(test_output, failure_regex)
  true unless test_output =~ /#{failure_regex}/
end