# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 9 def initialize(id_num, test_framework_short_name) @id_num = id_num @test_framework = Spork::TestFramework.factory(STDOUT, STDERR, test_framework_short_name) # ENV["DRB"] = 'true' # Spork.using_spork! return(nil) unless preload end
# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 26 def preload @test_framework.preload end
# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 18 def run(argv, stderr, stdout) $stdout, $stderr = stdout, stderr Spork.exec_each_run load @test_framework.helper_file @test_framework.run_tests(argv, stderr, stdout) puts " <-- Slave(#{@id_num}) run done!"; stdout.flush end
Generated with the Darkfish Rdoc Generator 2.