Sha256: 6a49f221d47460981cb6da7537f66a1b541a0645ceacddeaca28bdb61b6c4339

Contents?: true

Size: 445 Bytes

Versions: 7

Compression:

Stored size: 445 Bytes

Contents

require 'open-uri'
module Awetestlib
  class Runner
    def initialize(options = {})
      build_class = "Awetestlib::#{check_script_type(options[:script_type])}::Runner".constantize
      build_class.new(options).start
    end

    def check_script_type(script_type)
      case script_type
        when "Regression" ; "Regression" #Should this be regression? possible rename
        else              ; script_type
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awetestlib-0.1.22 lib/awetestlib/runner.rb
awetestlib-0.1.20 lib/awetestlib/runner.rb
awetestlib-0.1.19 lib/awetestlib/runner.rb
awetestlib-0.1.17 lib/awetestlib/runner.rb
awetestlib-0.1.16 lib/awetestlib/runner.rb
awetestlib-0.1.15 lib/awetestlib/runner.rb
awetestlib-0.1.14 lib/awetestlib/runner.rb