class Cukestep::Configuration
Attributes
autoload_code_paths[RW]
default_excluded_file_paths[RW]
excluded_code_file_paths[RW]
Public Class Methods
default_configuration()
click to toggle source
# File lib/cukestep/configuration.rb, line 8 def self.default_configuration Configuration.new.tap do |c| c.autoload_code_paths = ['features/support', 'features/step_definitions'] c.default_excluded_file_paths = ['features/support/env.rb'] c.excluded_code_file_paths = [] end end
Public Instance Methods
cucumber_load_paths()
click to toggle source
# File lib/cukestep/configuration.rb, line 16 def cucumber_load_paths autoload_code_paths.map { |path| Dir["#{path}/**/*"] }.flatten - (default_excluded_file_paths + excluded_code_file_paths) end