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

Inherits:
TestResult
  • Object
show all
Defined in:
lib/gitlab/qa/report/test_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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