Sha256: a378e55a24ddcd3dd6bf246b0ad9522295aa53d40234ac37bb6cfe3159147f31

Contents?: true

Size: 1 KB

Versions: 17

Compression:

Stored size: 1 KB

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 mobile_app_setup <project_name>
      setup a mobile app project

    awetestlib cucumber_setup <project_name>
      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

17 entries across 17 versions & 1 rubygems

Version Path
awetestlib-0.1.29pre3-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.29pre3 bin/awetestlib-helpers.rb
awetestlib-0.1.29pre1 bin/awetestlib-helpers.rb
awetestlib-0.1.28-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.27-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.26-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.25-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.24-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.23-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.22-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.20-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.19-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.17-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.16-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.15-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.14-x86-mingw32 bin/awetestlib-helpers.rb
awetestlib-0.1.13-x86-mingw32 bin/awetestlib-helpers.rb