Class: RspecTestResultLogging

Inherits:
TestResultLogging show all
Defined in:
lib/test_result_logging.rb

Instance Attribute Summary

Attributes inherited from TestResultLogging

#current_run_name

Instance Method Summary collapse

Methods inherited from TestResultLogging

#each_format_to_current_files, #initialize, latest_default_file_for_format, latest_symlink_for_format, #new_file_for_format, results_dir, #results_dir, #update_latest_symlinks, user, #user

Constructor Details

This class inherits a constructor from TestResultLogging

Instance Method Details

#set_env_to_log_resultsObject



61
62
63
64
65
# File 'lib/test_result_logging.rb', line 61

def set_env_to_log_results
  each_format_to_current_files do |format, latest_symlink, new_file|
    ENV["rspec_#{format}_file"] = new_file.basename.to_s
  end
end