Module: GoldenRose
- Defined in:
- lib/golden_rose/child_item.rb,
lib/golden_rose.rb,
lib/golden_rose/parser.rb,
lib/golden_rose/cli/app.rb,
lib/golden_rose/version.rb,
lib/golden_rose/parent_item.rb,
lib/golden_rose/subtest_item.rb,
lib/golden_rose/results_filterer.rb,
lib/golden_rose/execution_details.rb,
lib/golden_rose/generators/html_format.rb
Overview
This class is responsible for filtering results to include only subtests with needed details
Defined Under Namespace
Modules: CLI, Generators Classes: ChildItem, ExecutionDetails, GeneratingError, ParentItem, Parser, ResultsFilterer, SubtestItem
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.generate(folder_path, output_path, format: :html) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/golden_rose.rb', line 12 def self.generate(folder_path, output_path, format: :html) parsed_plist = Parser.new(folder_path).parse! results = ResultsFilterer.new(parsed_plist).filter! case format when :html Generators::HtmlFormat.new(results, output_path).output else raise GeneratingError, "Format not supported." end end |
.root ⇒ Object
24 25 26 |
# File 'lib/golden_rose.rb', line 24 def self.root File.dirname(__dir__) end |