Sha256: 6ebe3bb10f7ff938eb6510db33bd7fe91af0dee3c2d2999458cbc7241e40f6c1
Contents?: true
Size: 410 Bytes
Versions: 7
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require 'nokogiri' module Gitlab module QA module Report class JUnitTestResults include Enumerable def initialize(file) @testcases = Nokogiri::XML(File.read(file)).xpath('//testcase').map { |test| TestResult.from_junit(test) } end def each(&block) @testcases.each(&block) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems