Sha256: 32a62ab06a2da6b81f683d69071be4ab43725989f81805f405d15a0f5f402785
Contents?: true
Size: 548 Bytes
Versions: 13
Compression:
Stored size: 548 Bytes
Contents
require 'open-uri' module Awetestlib # Parent class. Each script type will have a Runner that inherits from this class. 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
13 entries across 13 versions & 1 rubygems