Class: QAT::Reporter::Opentest::Publisher::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/qat/reporter/opentest/publisher/base.rb

Overview

QAT::Reporter::Xray::Publisher::Base integrator class

Direct Known Subclasses

Hosted

Defined Under Namespace

Classes: Client

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Initializes Xray Publisher url and login information



16
17
18
19
20
21
22
23
24
25
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 16

def initialize
	@base_url      = QAT::Reporter::Opentest::Config.open_test_url
	@session_id    = QAT::Reporter::Opentest::Config.session_id
	@environment   = QAT::Reporter::Opentest::Config.environment
	@actor_tags    = QAT::Reporter::Opentest::Config.actor_tags
	@tests         = QAT::Reporter::Opentest::Config.tests
	@session_label = QAT::Reporter::Opentest::Config.session_label
	@bearer        = QAT::Reporter::Opentest::Config.bearer
	@evidences     = QAT::Reporter::Opentest::Config.evidences
end

Instance Attribute Details

#actor_tagsObject (readonly)

Returns the value of attribute actor_tags.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def actor_tags
  @actor_tags
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def base_url
  @base_url
end

#bearerObject (readonly)

Returns the value of attribute bearer.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def bearer
  @bearer
end

#environmentObject (readonly)

Returns the value of attribute environment.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def environment
  @environment
end

#evidencesObject (readonly)

Returns the value of attribute evidences.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def evidences
  @evidences
end

#session_idObject (readonly)

Returns the value of attribute session_id.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def session_id
  @session_id
end

#session_labelObject (readonly)

Returns the value of attribute session_label.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def session_label
  @session_label
end

#testsObject (readonly)

Returns the value of attribute tests.



13
14
15
# File 'lib/qat/reporter/opentest/publisher/base.rb', line 13

def tests
  @tests
end