Sha256: 00dba9e53dda0af8bd806dbd4301cd88eebfd4cff47d1d9ff26e58443b628203

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

require 'rubygems'
gem 'rspec', '=1.1.8'
require 'spec/rake/spectask'
$LOAD_PATH << File.dirname(__FILE__) + "/../../../lib"
require 'deep_test/rake_tasks'

DeepTest::TestTask.new(:deep_test) do |t|
  t.number_of_workers = 1
  t.pattern = "test/unit/**/*_test.rb"
  t.worker_listener = "ForeignHostWorkerSimulationListener,DeepTest::Database::MysqlSetupListener"
end
Rake::Task[:deep_test].enhance ["db:test:prepare"]

Spec::Rake::SpecTask.new(:deep_spec) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.deep_test :number_of_workers => 2
end
Rake::Task[:deep_spec].enhance ["db:test:prepare"]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jstorimer-deep-test-1.4.0 sample_rails_project/lib/tasks/deep_test.rake
jstorimer-deep-test-1.3.0 sample_rails_project/lib/tasks/deep_test.rake
jstorimer-deep-test-1.2.0 sample_rails_project/lib/tasks/deep_test.rake
jstorimer-deep-test-1.1.0 sample_rails_project/lib/tasks/deep_test.rake
jstorimer-deep-test-1.0.0 sample_rails_project/lib/tasks/deep_test.rake