Sha256: 5f494b5240a7baaf01f62fd32b249c9b8b258d4d7e0104bff2cc2ee51715abc4

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "watirgrid"
    gem.summary = %Q{WatirGrid: Web Application Testing in Ruby across a grid network.}
    gem.description = %Q{WatirGrid allows for distributed testing across a grid network using Watir.}
    gem.email = "tim.koops@gmail.com"
    gem.homepage = "http://github.com/90kts/watirgrid"
    gem.authors = ["Tim Koopmans"]
    gem.version = "0.0.9"
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
desc "Run unit tests"
Spec::Rake::SpecTask.new('unit_tests_watir') do |t|
  t.spec_files = FileList['spec/**/grid_spec.rb']
  t.spec_opts = ["--format", "nested", "-c"]
  t.fail_on_error = false
end

desc "Run unit tests for WebDriver"
Spec::Rake::SpecTask.new('unit_tests_webdriver') do |t|
  t.spec_files = FileList['spec/**/webdriver_spec.rb']
  t.spec_opts = ["--format", "nested", "-c"]
  t.fail_on_error = false
end


require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "watirgrid #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watirgrid-0.0.9 Rakefile