Module: Mutx::Cucumber::Features

Defined in:
lib/mutx/cucumber/features.rb

Class Method Summary collapse

Class Method Details

.feature_files_namesArray

Returns an array of all feature files paths (only feature files)

Returns:

  • (Array)


8
9
10
11
12
# File 'lib/mutx/cucumber/features.rb', line 8

def self.feature_files_names
  Dir['**/*.*'].select do |file_path_name|
    file_path_name.start_with? "features/" and file_path_name.end_with? ".feature"
  end
end