Class: Fuci::Runner

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/fuci/runner.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detected_testerObject

Returns the value of attribute detected_tester.



13
14
15
# File 'lib/fuci/runner.rb', line 13

def detected_tester
  @detected_tester
end

#failuresObject

Returns the value of attribute failures.



13
14
15
# File 'lib/fuci/runner.rb', line 13

def failures
  @failures
end

#logObject

Returns the value of attribute log.



13
14
15
# File 'lib/fuci/runner.rb', line 13

def log
  @log
end

Class Method Details

.createObject



25
26
27
# File 'lib/fuci/runner.rb', line 25

def self.create
  CliOptions.run_last_command? ? CachedCommandRunner.new : new
end

Instance Method Details

#runObject



15
16
17
18
19
20
21
22
23
# File 'lib/fuci/runner.rb', line 15

def run
  initialize_server!
  initialize_testers!
  check_build
  fetch_log
  detect_tester_failure
  cache_tester_command
  run_failures
end