Class: Cucumber::ProjectInitializer

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/project_initializer.rb

Overview

Generates generic file structure for a cucumber project

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
# File 'lib/cucumber/project_initializer.rb', line 6

def run
  create_directory('features')
  create_directory('features/step_definitions')
  create_directory('features/support')
  create_file('features/support/env.rb')
end