Sha256: 09b433027ddc77504bfea09838cd7b33a10890b85c15d765752f9d792ee7e8da

Contents?: true

Size: 963 Bytes

Versions: 16

Compression:

Stored size: 963 Bytes

Contents

When /^I get help for "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(help))
end

When /^I get the status with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(status))
end

When /^I build the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(build))
end

When /^I demolish the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(demolish))
end

When /^I up the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(up))
end

When /^I down the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(down))
end

When /^I destroy the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(destroy))
end

When /^I bounce the lab with "([^"]*)"$/ do |app_name|
  testlab_cmd(app_name, %W(bounce))
end

def testlab_cmd(app_name, *args)
  args = args.join(' ')
  log_file = File.join(TEST_ROOT, 'testlab.log')
  step %(I run `#{app_name} --repo=#{TEST_REPO} --labfile=#{TEST_LABFILE} --log=#{log_file} #{args}`)
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
testlab-1.22.4 features/step_definitions/testlab_steps.rb
testlab-1.22.3 features/step_definitions/testlab_steps.rb
testlab-1.22.2 features/step_definitions/testlab_steps.rb
testlab-1.22.1 features/step_definitions/testlab_steps.rb
testlab-1.22.0 features/step_definitions/testlab_steps.rb
testlab-1.21.1 features/step_definitions/testlab_steps.rb
testlab-1.21.0 features/step_definitions/testlab_steps.rb
testlab-1.20.6 features/step_definitions/testlab_steps.rb
testlab-1.20.5 features/step_definitions/testlab_steps.rb
testlab-1.20.4 features/step_definitions/testlab_steps.rb
testlab-1.20.3 features/step_definitions/testlab_steps.rb
testlab-1.20.2 features/step_definitions/testlab_steps.rb
testlab-1.20.1 features/step_definitions/testlab_steps.rb
testlab-1.20.0 features/step_definitions/testlab_steps.rb
testlab-1.19.0 features/step_definitions/testlab_steps.rb
testlab-1.18.1 features/step_definitions/testlab_steps.rb