class Gitlab::QA::Report::BaseTestResults

Attributes

path[R]
results[R]
testcases[R]

Public Class Methods

new(path) click to toggle source
# File lib/gitlab/qa/report/base_test_results.rb, line 11
def initialize(path)
  @path = path
  @results = parse
  @testcases = process
end

Public Instance Methods

each(&block) click to toggle source
# File lib/gitlab/qa/report/base_test_results.rb, line 17
def each(&block)
  testcases.each(&block)
end
write() click to toggle source
# File lib/gitlab/qa/report/base_test_results.rb, line 21
def write
  raise NotImplementedError
end

Private Instance Methods

parse() click to toggle source
# File lib/gitlab/qa/report/base_test_results.rb, line 29
def parse
  raise NotImplementedError
end
process() click to toggle source
# File lib/gitlab/qa/report/base_test_results.rb, line 33
def process
  raise NotImplementedError
end