Sha256: 2f41c5059132646f6ceccbc1c7354b3fe30147a881ee89729d9a0ef0d504a651
Contents?: true
Size: 820 Bytes
Versions: 31
Compression:
Stored size: 820 Bytes
Contents
require 'rubygems' require 'bundler' require 'rspec/core/rake_task' require 'cucumber' require 'cucumber/rake/task' Bundler::GemHelper.install_tasks RSpec::Core::RakeTask.new(:spec) do |spec| spec.ruby_opts = "-I lib:spec" spec.pattern = 'spec/**/*_spec.rb' end task :spec namespace :features do Cucumber::Rake::Task.new(:watir_webdriver, "Run features with Watir") do |t| t.profile = "watir_webdriver" end Cucumber::Rake::Task.new(:selenium_webdriver, "Run features with Selenium") do |t| t.profile = "selenium_webdriver" end desc 'Run all features' task :all => [:watir_webdriver, :selenium_webdriver] end desc 'Run all specs and cukes' task :test => ['spec', 'features:all'] task :lib do $LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__))) end task :default => :test
Version data entries
31 entries across 31 versions & 4 rubygems