Class: Gitlab::QA::Report::BaseTestResults
- Inherits:
-
Object
- Object
- Gitlab::QA::Report::BaseTestResults
- Includes:
- Enumerable
- Defined in:
- lib/gitlab/qa/report/base_test_results.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(path) ⇒ BaseTestResults
constructor
A new instance of BaseTestResults.
- #write ⇒ Object
Constructor Details
#initialize(path) ⇒ BaseTestResults
Returns a new instance of BaseTestResults.
11 12 13 14 15 |
# File 'lib/gitlab/qa/report/base_test_results.rb', line 11 def initialize(path) @path = path @results = parse @testcases = process end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
9 10 11 |
# File 'lib/gitlab/qa/report/base_test_results.rb', line 9 def path @path end |
Instance Method Details
#each(&block) ⇒ Object
17 18 19 |
# File 'lib/gitlab/qa/report/base_test_results.rb', line 17 def each(&block) testcases.each(&block) end |
#write ⇒ Object
21 22 23 |
# File 'lib/gitlab/qa/report/base_test_results.rb', line 21 def write raise NotImplementedError end |