Sha256: 914bc80edee36b3c31dbcd6100495582ebad0d848231833867b48c7987529a6c

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
awetestlib-0.1.13 lib/awetestlib/runner.rb
awetestlib-0.1.12 lib/awetestlib/runner.rb
awetestlib-0.1.11 lib/awetestlib/runner.rb
awetestlib-0.1.10 lib/awetestlib/runner.rb
awetestlib-0.1.9 lib/awetestlib/runner.rb
awetestlib-0.1.8 lib/awetestlib/runner.rb
awetestlib-0.1.7 lib/awetestlib/runner.rb
awetestlib-0.1.6 lib/awetestlib/runner.rb
awetestlib-0.1.5 lib/awetestlib/runner.rb