class Fuci::Cucumber

Constants

BASE_COMMAND
FAILURE_INDICATOR
FAIL_FILE_CAPTURE

Public Instance Methods

command(log) click to toggle source
# File lib/fuci/cucumber.rb, line 13
def command log
  @command ||= "#{base_command} #{failures log }"
end
indicates_failure?(log) click to toggle source
# File lib/fuci/cucumber.rb, line 9
def indicates_failure? log
  log.include? FAILURE_INDICATOR
end

Private Instance Methods

base_command() click to toggle source
# File lib/fuci/cucumber.rb, line 19
def base_command
  BASE_COMMAND
end
failures(log) click to toggle source
# File lib/fuci/cucumber.rb, line 23
def failures log
  log.scan(FAIL_FILE_CAPTURE).join ' '
end