Sha256: 7e7baeacbef81794f3551c03480537dcb58366d89c20e0d54289d35293309d47
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 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
6 entries across 6 versions & 1 rubygems