class ParallelTests::Cucumber::Runner
def self.run_tests(test_files, process_number, options)
def self.run_tests(test_files, process_number, options) color = ($stdout.tty? ? 'AUTOTEST=1 ; export AUTOTEST ;' : '')#display color when we are in a terminal runtime_logging = " --format ParallelTests::Cucumber::RuntimeLogger --out #{runtime_log}" cmd = [ color, executable, (runtime_logging if File.directory?(File.dirname(runtime_log))), cucumber_opts(options[:test_options]), *test_files ].compact.join(" ") execute_command(cmd, process_number, options) end