class SpecTracker::Configuration
Attributes
local_path[R]
locale[RW]
scenario_id_header[RW]
scenario_id_regex[RW]
scenario_name_header[RW]
spec_path[RW]
spec_type[RW]
test_report_path[RW]
wording[R]
Public Class Methods
new()
click to toggle source
# File lib/spec_tracker/config/configuration.rb, line 8 def initialize @scenario_id_header = 'Scenario ID' @scenario_name_header = 'Name/Rule' @spec_path = 'specifications' @test_report_path = 'test/reports' @scenario_id_regex = /\[([a-zA-Z\-]+)\]/ @spec_type = 'csv' @available_types = %w(csv gherkin) @locale = 'fr' @available_locales = %w(fr en) wording_path = Pathname.new(__FILE__).join("../#{locale}.yml") @wording = YAML.load_file(wording_path)[:"#{locale}"] @local_path = Pathname.new(Dir.pwd) end