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

Version Path
page_object-1.1.1 Rakefile
page-object-1.1.0 Rakefile
page-object-lds-0.0.14 Rakefile
page-object-lds-0.0.13 Rakefile
page-object-lds-0.0.12 Rakefile
page-object-lds-0.0.11 Rakefile
page-object-lds-0.0.1 Rakefile
page-object-1.0.3 Rakefile
meeane-page-object-0.1.11 Rakefile
page-object-1.0.2 Rakefile
page-object-1.0.1 Rakefile
page-object-1.0 Rakefile
page-object-0.9.8 Rakefile
page-object-0.9.7 Rakefile
page-object-0.9.6 Rakefile
page-object-0.9.5 Rakefile
page-object-0.9.4 Rakefile
page-object-0.9.3 Rakefile
page-object-0.9.2 Rakefile
page-object-0.9.1 Rakefile