Sha256: d981a7300e3cd2de5598a080a198540952b15696b445d5275b682a20ada1b66a

Contents?: true

Size: 778 Bytes

Versions: 70

Compression:

Stored size: 778 Bytes

Contents

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'




namespace :test_unit do
  desc "runs the test::unit based tests in webrat mode"
  task :rails do
    ENV['WEBRAT_INTEGRATION_MODE'] = 'rails'
    Rake::Task['test:integration'].execute
  end

  desc "runs the test::unit based tests in selenium mode"
  task :selenium do
    ENV['WEBRAT_INTEGRATION_MODE'] = 'selenium'
    Rake::Task['test:integration'].execute
  end

  desc "run both selenium and rails mode Test::Unit suites"
  task :all => [:rails, :selenium]
end

Version data entries

70 entries across 70 versions & 24 rubygems

Version Path
adva-0.3.2 test/webrat/spec/integration/rails/Rakefile
adva-0.3.1 test/webrat/spec/integration/rails/Rakefile
adva-0.3.0 test/webrat/spec/integration/rails/Rakefile
adva-0.2.4 test/webrat/spec/integration/rails/Rakefile
adva-0.2.3 test/webrat/spec/integration/rails/Rakefile
adva-0.2.2 test/webrat/spec/integration/rails/Rakefile
adva-0.2.1 test/webrat/spec/integration/rails/Rakefile
adva-0.2.0 test/webrat/spec/integration/rails/Rakefile
adva-0.1.4 test/webrat/spec/integration/rails/Rakefile
adva-0.1.3 test/webrat/spec/integration/rails/Rakefile
adva-0.1.2 test/webrat/spec/integration/rails/Rakefile
adva-0.1.1 test/webrat/spec/integration/rails/Rakefile
adva-0.1.0 test/webrat/spec/integration/rails/Rakefile
adva-0.0.1 test/webrat/spec/integration/rails/Rakefile
davidtrogers-webrat-0.4.4.2 spec/integration/rails/Rakefile
diabolo-webrat-0.5.1 spec/integration/rails/Rakefile
dstrelau-webrat-0.5.1 spec/integration/rails/Rakefile
hardbap-webrat-0.5.1 spec/integration/rails/Rakefile
hardbap-webrat-0.5.2 spec/integration/rails/Rakefile
sr-webrat-0.4.4.1 spec/integration/rails/Rakefile