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

#testcase ⇒ Object

Ignore it for now



136
137
138
# File 'lib/gitlab/qa/report/test_result.rb', line 136

def testcase
  @testcase
end

Instance Method Details

#file ⇒ Object



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

def file
  report['file']
end

#name ⇒ Object



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

def name
  report['name']
end

#skipped ⇒ Object



132
133
134
# File 'lib/gitlab/qa/report/test_result.rb', line 132

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