class Gitlab::QA::Report::JUnitTestResults
Public Instance Methods
write()
click to toggle source
# File lib/gitlab/qa/report/junit_test_results.rb, line 9 def write # Ignore it for now end
Private Instance Methods
parse()
click to toggle source
# File lib/gitlab/qa/report/junit_test_results.rb, line 15 def parse Nokogiri::XML.parse(File.read(path)) end
process()
click to toggle source
# File lib/gitlab/qa/report/junit_test_results.rb, line 19 def process results.xpath('//testcase').map do |test| TestResult.from_junit(test) end end