Module: Satorix::CI::Test::Ruby::Cucumber

Extended by:
Cucumber
Includes:
Shared::Console
Included in:
Cucumber
Defined in:
lib/satorix/CI/test/ruby/cucumber.rb

Instance Method Summary collapse

Methods included from Shared::Console

#colorize, #colors, #humanize_time, #log, #log_bench, #log_command, #log_duration, #log_error, #log_error_and_abort, #log_header, #run_command, #source_env_from

Instance Method Details

#goObject



14
15
16
17
# File 'lib/satorix/CI/test/ruby/cucumber.rb', line 14

def go
  log_bench('Displaying current Ruby version...') { run_command 'ruby -v' }
  log_bench('Running Cucumber...') { run_cucumber }
end

#run_cucumberObject



20
21
22
# File 'lib/satorix/CI/test/ruby/cucumber.rb', line 20

def run_cucumber
  run_command 'bundle exec cucumber'
end