Sha256: 9cc1ac8cf3840f5f80d91fced61a03921d50d8b6392e44d1954da0608c4c53bf

Contents?: true

Size: 662 Bytes

Versions: 57

Compression:

Stored size: 662 Bytes

Contents

# frozen_string_literal: true

module GitlabQuality
  module TestTooling
    module TestResults
      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

57 entries across 57 versions & 1 rubygems

Version Path
gitlab_quality-test_tooling-1.28.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.24.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.23.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.22.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.21.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.21.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.20.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.20.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.19.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.19.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.18.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.17.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.15.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.14.2 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.14.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.14.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.13.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.12.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.11.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.10.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb