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



156
157
158
# File 'lib/gitlab/qa/report/test_result.rb', line 156

def testcase
  @testcase
end

Instance Method Details

#fileObject



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

def file
  report['file']
end

#nameObject



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

def name
  report['name']
end

#skippedObject



152
153
154
# File 'lib/gitlab/qa/report/test_result.rb', line 152

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