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.10.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.9.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.8.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.8.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.7.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.5.4 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.5.3 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.5.2 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.5.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.5.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.4.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.3.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.2.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.1.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-1.0.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-0.9.3 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-0.9.2 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-0.9.1 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-0.9.0 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb
gitlab_quality-test_tooling-0.8.3 lib/gitlab_quality/test_tooling/test_results/base_test_results.rb