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

Constructor Details

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

Instance Attribute Details

#testcaseObject

Ignore it for now



94
95
96
# File 'lib/gitlab/qa/report/test_result.rb', line 94

def testcase
  @testcase
end

Instance Method Details

#fileObject



86
87
88
# File 'lib/gitlab/qa/report/test_result.rb', line 86

def file
  report['file']
end

#nameObject



82
83
84
# File 'lib/gitlab/qa/report/test_result.rb', line 82

def name
  report['name']
end

#skippedObject



90
91
92
# File 'lib/gitlab/qa/report/test_result.rb', line 90

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