Sha256: 5de69f5ad85d56ac410ee0fc4d76dae7a190ae8091966acf7fcd02bc88b7b275
Contents?: true
Size: 895 Bytes
Versions: 1
Compression:
Stored size: 895 Bytes
Contents
require 'rubygems' require 'bundler' require 'rspec/core/rake_task' require 'cucumber' require 'cucumber/rake/task' require 'coveralls/rake/task' Coveralls::RakeTask.new 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, "Run features with Watir") do |t| t.profile = "watir" end Cucumber::Rake::Task.new(:selenium, "Run features with Selenium") do |t| t.profile = "selenium_webdriver" end desc 'Run all features' task :all => [:watir, :selenium] 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 :test_with_coveralls => [:test, 'coveralls:push'] task :default => :test_with_coveralls
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
page-object-2.0.0 | Rakefile |