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, Test, TestExecution
Constant Summary collapse
- VERSION =
Represents QAT Reporter’s Xray integrations’ version
'9.0.0'
Class Method Summary collapse
-
.configure {|Config| ... } ⇒ Object
Configures the QAT::Formatter::Xray.
Class Method Details
.configure {|Config| ... } ⇒ Object
Configures the QAT::Formatter::Xray
135 136 137 138 139 140 141 142 |
# File 'lib/qat/reporter/xray/config.rb', line 135 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(ProjectKeyUndefinedError, 'JIRA\'s project key must be defined!') unless QAT::Reporter::Xray::Config.project_key raise(LoginCredentialsUndefinedError, 'JIRA\'s login credentials must be defined!') unless QAT::Reporter::Xray::Config.login_credentials end |