Class: QAT::Reporter::Xray
- Inherits:
-
Object
- Object
- QAT::Reporter::Xray
- Defined in:
- lib/qat/reporter/xray/version.rb,
lib/qat/reporter/xray/test.rb,
lib/qat/reporter/xray/issue.rb,
lib/qat/reporter/xray/config.rb,
lib/qat/reporter/xray/publisher/base.rb,
lib/qat/reporter/xray/test_execution.rb,
lib/qat/reporter/xray/publisher/cloud.rb,
lib/qat/reporter/xray/publisher/hosted.rb,
lib/qat/reporter/xray/tasks/tests/report.rb,
lib/qat/reporter/xray/tasks/tests/helpers.rb
Overview
Namespace for QAT Reporter’s Xray integrations
Defined Under Namespace
Modules: Config, Publisher, Tests Classes: Issue, LoginCredentialsUndefinedError, ProjectKeyUndefinedError, PublisherUndefinedError, Test, TestExecution
Constant Summary collapse
- VERSION =
Represents QAT Reporter’s Xray integrations’ version
'1.1.4'
Class Method Summary collapse
-
.configure {|Config| ... } ⇒ Object
Configures the QAT::Formatter::Xray.
Class Method Details
.configure {|Config| ... } ⇒ Object
Configures the QAT::Formatter::Xray
121 122 123 124 125 126 127 128 129 |
# File 'lib/qat/reporter/xray/config.rb', line 121 def configure(&block) yield Config QAT::Reporter::Xray::Config.publisher = QAT::Reporter::Xray::Publisher.const_get(QAT::Reporter::Xray::Config.jira_type.capitalize).new raise(LoginCredentialsUndefinedError, 'JIRA\'s login credentials must be defined!') unless QAT::Reporter::Xray::Config.login_credentials raise(PublisherUndefinedError, 'XRAY\'s publisher is not defined!') unless QAT::Reporter::Xray::Config.publisher.present? return QAT::Reporter::Xray::Config.publisher end |