Module: ParallelReportPortal

Extended by:
AfterLaunch, Clock, FileUtils, HTTP
Defined in:
lib/parallel_report_portal.rb,
lib/parallel_report_portal/http.rb,
lib/parallel_report_portal/clock.rb,
lib/parallel_report_portal/version.rb,
lib/parallel_report_portal/file_utils.rb,
lib/parallel_report_portal/after_launch.rb,
lib/parallel_report_portal/configuration.rb,
lib/parallel_report_portal/cucumber/report.rb,
lib/parallel_report_portal/cucumber/formatter.rb

Defined Under Namespace

Modules: AfterLaunch, Clock, Cucumber, FileUtils, HTTP Classes: Configuration, Error

Constant Summary collapse

VERSION =
"3.0.1"

Instance Attribute Summary

Attributes included from AfterLaunch

#launch_finished_block, #report_url

Class Method Summary collapse

Methods included from AfterLaunch

after_launch

Methods included from HTTP

authorization_header, http_connection, http_multipart_connection, req_feature_finished, req_feature_started, req_hierarchy, req_launch_finished, req_launch_started, req_log, req_test_case_finished, req_test_case_started, send_file, url

Methods included from FileUtils

delete_file, file_open_exlock_and_block, hierarchy_file, launch_id_file, parallel?, pid

Methods included from Clock

clock

Class Method Details

.configurationConfiguration

Returns the configuration object, initializing it if necessary.

Returns:



21
22
23
# File 'lib/parallel_report_portal.rb', line 21

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Configures the Report Portal environment.

Yield Parameters:

  • config (Configuration)

    the configuration object yielded to the block



28
29
30
# File 'lib/parallel_report_portal.rb', line 28

def self.configure(&block)
  yield configuration
end