Class: Cucumber::ProjectInitializer

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/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