Sha256: ee91aa4feddf029addd6e72c6495c1b54db7b36703f9503e0d73475ccd08dde3

Contents?: true

Size: 925 Bytes

Versions: 3

Compression:

Stored size: 925 Bytes

Contents

def msg(title, &block)
  puts "\n" + "-"*10 + title + "-"*10
  block.call
  puts "-"*10 + "-------" + "-"*10 + "\n"
end


def print_usage
  puts <<EOF
  Usage Options:
  
    awetestlib regression_setup
      setup awetest regression and register autoitx3.dll

    awetestlib rubymine_setup <project_name>
      setup a rubymine project 

    awetestlib netbeans_setup <project_name>
      setup a netbeans project

    awetestlib cucumber_setup
      setup cucumber regression and provide skeleton folder structure

    awetestlib <script_file> [parameters]
      run an awetest regression script

EOF
end

def check_script_type(options)
  script_options = ['Regression', 'Cucumber']
  if script_options.include? ARGV[0]
    options[:script_type] = ARGV[0]
    options[:script_file] = ARGV[1]
  else
    options[:script_type] = 'Regression'
    options[:script_file] = ARGV[0]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awetestlib-0.1.11-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.10-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.9-x86-mingw32 bin/awetestlib-helpers.rb