Sha256: 640992b5e3ea2c37aca1d9d3e8c80715f0e3477b7b93ae68291051fc06acbc33
Contents?: true
Size: 719 Bytes
Versions: 3
Compression:
Stored size: 719 Bytes
Contents
require 'uispecrunner' require 'uispecrunner/options' class UISpecRunner class Application def self.run!(*arguments) options = UISpecRunner::Options.new(arguments) if options[:invalid_argument] $stderr.puts options[:invalid_argument] options[:show_help] = true end if options[:show_help] $stderr.puts options.opts return 1 end # Read standard arguments from uispec.opts options_file = 'uispec.opts' if File.exists?(options_file) options = UISpecRunner::Options.from_file(options_file).merge(options) end runner = UISpecRunner.new(options) runner.run! return 0 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uispecrunner-0.3.0 | lib/uispecrunner/application.rb |
uispecrunner-0.2.4 | lib/uispecrunner/application.rb |
uispecrunner-0.2.3 | lib/uispecrunner/application.rb |