Class: QAT::Reporter::Xray::Test
- Defined in:
- lib/qat/reporter/xray/test.rb
Overview
QAT::Reporter::Xray::TestExecution represents a Xray Test Execution object
Instance Attribute Summary
Attributes inherited from Issue
Instance Method Summary collapse
-
#create(options = {}) ⇒ Object
Creates a Test issue in Jira.
Methods inherited from Issue
Constructor Details
This class inherits a constructor from QAT::Reporter::Xray::Issue
Instance Method Details
#create(options = {}) ⇒ Object
Creates a Test issue in Jira
11 12 13 14 15 16 |
# File 'lib/qat/reporter/xray/test.rb', line 11 def create( = {}) data = defaults.merge() response = super(data) test_key = JSON.parse(response)['key'] puts "Created test with key: '#{test_key}'." end |