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



115
116
117
# File 'lib/gitlab/qa/report/test_result.rb', line 115

def testcase
  @testcase
end

Instance Method Details

#fileObject



107
108
109
# File 'lib/gitlab/qa/report/test_result.rb', line 107

def file
  report['file']
end

#nameObject



103
104
105
# File 'lib/gitlab/qa/report/test_result.rb', line 103

def name
  report['name']
end

#skippedObject



111
112
113
# File 'lib/gitlab/qa/report/test_result.rb', line 111

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