Sha256: 0033758683bc68c2ac7cfc2bd8a074b279058aaa1bbcefd253a99fb460f17204

Contents?: true

Size: 800 Bytes

Versions: 13

Compression:

Stored size: 800 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"
  end

  Cucumber::Rake::Task.new(:selenium_webdriver, "Run features with Selenium") do |t|
    t.profile = "selenium"
  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

13 entries across 13 versions & 1 rubygems

Version Path
page-object-0.8.1 Rakefile
page-object-0.8 Rakefile
page-object-0.7.6 Rakefile
page-object-0.7.5.1 Rakefile
page-object-0.7.5 Rakefile
page-object-0.7.4 Rakefile
page-object-0.7.3 Rakefile
page-object-0.7.2 Rakefile
page-object-0.7.1 Rakefile
page-object-0.7.0 Rakefile
page-object-0.6.9 Rakefile
page-object-0.6.8 Rakefile
page-object-0.6.7 Rakefile