Sha256: ff204d230798fc8a5573ae40b78e7d708c6743c76e7b950bd9e77e0395703378

Contents?: true

Size: 650 Bytes

Versions: 9

Compression:

Stored size: 650 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

Cucumber::Rake::Task.new(:features, "Run the cucumber features")


desc 'Run all specs and cukes'
task :test => ['spec', 'features']

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

9 entries across 9 versions & 1 rubygems

Version Path
page-object-2.2.6 Rakefile
page-object-2.2.5 Rakefile
page-object-2.2.4 Rakefile
page-object-2.2.3 Rakefile
page-object-2.2.2 Rakefile
page-object-2.2.1 Rakefile
page-object-2.2 Rakefile
page-object-2.1.1 Rakefile
page-object-2.1 Rakefile