Sha256: 6dc9a9daed5a61387754db1b97c95a024f29a3dd17b50c51519f884e93a63b6e

Contents?: true

Size: 738 Bytes

Versions: 10

Compression:

Stored size: 738 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.ruby_opts = "-I lib:spec"
  spec.pattern = 'spec/**/*_spec.rb'
end

namespace :spec do
  RSpec::Core::RakeTask.new(:html) do |spec|
    spec.ruby_opts = "-I lib:spec"
    spec.pattern = 'spec/**/*_spec.rb'
    spec.rspec_opts = "--format html --out #{ENV["SPEC_REPORT"] || "specs.html"}"
  end
end

task :spec

task :lib do
  $LOAD_PATH.unshift(File.expand_xpath("lib", File.dirname(__FILE__)))
end

task :default => :spec


namespace :features do
  Cucumber::Rake::Task.new(:watir_webdriver, "Run features with Watir webdriver") do |t|
    t.profile = "watir"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
druid-ts-1.2.0 Rakefile
druid-ts-1.1.8 Rakefile
druid-ts-1.1.7 Rakefile
druid-ts-1.1.6 Rakefile
druid-ts-1.1.5 Rakefile
druid-ts-1.1.4 Rakefile
druid-ts-1.1.3 Rakefile
druid-ts-1.1.2 Rakefile
druid-ts-1.1.1 Rakefile
druid-ts-1.1.0 Rakefile