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



128
129
130
# File 'lib/gitlab/qa/report/test_result.rb', line 128

def testcase
  @testcase
end

Instance Method Details

#fileObject



120
121
122
# File 'lib/gitlab/qa/report/test_result.rb', line 120

def file
  report['file']
end

#nameObject



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

def name
  report['name']
end

#skippedObject



124
125
126
# File 'lib/gitlab/qa/report/test_result.rb', line 124

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