Class: Gitlab::QA::Report::TestResult::JUnitTestResult

Inherits:
Gitlab::QA::Report::TestResult show all
Defined in:
lib/gitlab/qa/report/test_result.rb

Instance Attribute Summary collapse

Attributes inherited from Gitlab::QA::Report::TestResult

#failures, #report

Instance Method Summary collapse

Methods inherited from Gitlab::QA::Report::TestResult

from_json, from_junit, #initialize, #stage

Constructor Details

This class inherits a constructor from Gitlab::QA::Report::TestResult

Instance Attribute Details

#testcaseObject

Ignore it for now



147
148
149
# File 'lib/gitlab/qa/report/test_result.rb', line 147

def testcase
  @testcase
end

Instance Method Details

#fileObject



139
140
141
# File 'lib/gitlab/qa/report/test_result.rb', line 139

def file
  report['file']
end

#nameObject



135
136
137
# File 'lib/gitlab/qa/report/test_result.rb', line 135

def name
  report['name']
end

#skippedObject



143
144
145
# File 'lib/gitlab/qa/report/test_result.rb', line 143

def skipped
  report.search('skipped').any?
end