Method: Cucover::CliCommands::Cucumber#execute

Defined in:
lib/cucover/cli_commands/cucumber.rb

#executeObject



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/cucover/cli_commands/cucumber.rb', line 16

def execute
  require 'rubygems'
  require 'cucumber'

  step_mother = ::Cucumber::StepMother.new
  step_mother.load_programming_language(LANGUAGE)
  require 'cucover/cucumber_hooks'

  execute_cuke do
    ::Cucumber::Cli::Main.new(ARGV).execute!(step_mother)
  end
end