Sha256: 5a61d2ddbb9f81dac7eb89f3abb0e771e9084b363dee52a79834274ca1c89525

Contents?: true

Size: 641 Bytes

Versions: 147

Compression:

Stored size: 641 Bytes

Contents

# frozen_string_literal: true

module Gitlab
  module QA
    module Report
      class BaseTestResults
        include Enumerable

        attr_reader :path

        def initialize(path)
          @path = path
          @results = parse
          @testcases = process
        end

        def each(&block)
          testcases.each(&block)
        end

        def write
          raise NotImplementedError
        end

        private

        attr_reader :results, :testcases

        def parse
          raise NotImplementedError
        end

        def process
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

147 entries across 147 versions & 1 rubygems

Version Path
gitlab-qa-10.3.0.1 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.6.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.5.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.4.1 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.4.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.3.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.2.2 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.2.1 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.2.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.1.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-10.0.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-9.1.2 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-9.1.1 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-9.1.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-9.0.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-8.15.3 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-8.15.2 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-8.15.1 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-8.15.0 lib/gitlab/qa/report/base_test_results.rb
gitlab-qa-8.14.1 lib/gitlab/qa/report/base_test_results.rb