Sha256: b561101f79c28edc2f13c8e1151724d8bc1c799ebb25e00faaae81fdba4dd729
Contents?: true
Size: 739 Bytes
Versions: 35
Compression:
Stored size: 739 Bytes
Contents
# setup/options require 'user-choices' module Watir module UnitTest class Options < UserChoices::Command include UserChoices def add_sources builder builder.add_source EnvironmentSource, :with_prefix, 'watir_' builder.add_source YamlConfigFileSource, :from_complete_path, $suite_options_file end def add_choices builder builder.add_choice :coverage, :type => ['regression', 'all', 'known failures'], :default => 'regression' end def execute Watir::UnitTest.options = @user_choices end end def self.options @@options end def self.options= x @@options = x end end end
Version data entries
35 entries across 35 versions & 1 rubygems