Sha256: f721dd4325e545de94387f8ca5430f8e0c65ac028cc566328249ee9c417a52be
Contents?: true
Size: 977 Bytes
Versions: 13
Compression:
Stored size: 977 Bytes
Contents
require 'rubygems' begin gem 'uispecrunner' require 'uispecrunner' require 'uispecrunner/options' rescue LoadError => error puts "Unable to load UISpecRunner: #{error}" end namespace :uispec do desc "Run all specs" task :all do options = UISpecRunner::Options.from_file('uispec.opts') rescue {} uispec_runner = UISpecRunner.new(options) uispec_runner.run_all! end desc "Run all unit specs (those that implement UISpecUnit)" task :units do options = UISpecRunner::Options.from_file('uispec.opts') rescue {} uispec_runner = UISpecRunner.new(options) uispec_runner.run_protocol!('UISpecUnit') end desc "Run all integration specs (those that implement UISpecIntegration)" task :integration do options = UISpecRunner::Options.from_file('uispec.opts') rescue {} uispec_runner = UISpecRunner.new(options) uispec_runner.run_protocol!('UISpecIntegration') end end desc "Run all specs" task :default => 'uispec:all'
Version data entries
13 entries across 13 versions & 1 rubygems