Sha256: 2444cce20d4b489bac7a1ad684d33e23c8c89e718a4bd65a69c8faf124edbd08

Contents?: true

Size: 560 Bytes

Versions: 64

Compression:

Stored size: 560 Bytes

Contents

require 'rake/testtask'

spec_defaults = lambda do |spec|
  spec.libs   << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.verbose = true
end

Rake::TestTask.new(:spec => [ :clean, :compile ], &spec_defaults)
Rake::TestTask.new(:spec_no_compile, &spec_defaults)

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |spec|
    spec.libs   << 'spec'
    spec.pattern = 'spec/**/*_spec.rb'
    spec.verbose = true
  end
rescue LoadError
  task :rcov do
    abort 'RCov is not available. In order to run rcov, you must: gem install rcov'
  end
end

Version data entries

64 entries across 64 versions & 8 rubygems

Version Path
do_sqlite3-0.10.1.1 tasks/spec.rake
do_sqlite3-0.10.1.1-x86-mswin32-60 tasks/spec.rake
do_sqlite3-0.10.1.1-x86-mingw32 tasks/spec.rake
do_sqlite3-0.10.1.1-java tasks/spec.rake
do_hsqldb-0.10.1-java tasks/spec.rake
do_h2-0.10.1-java tasks/spec.rake
do_derby-0.10.1-java tasks/spec.rake
do_oracle-0.10.1 tasks/spec.rake
do_oracle-0.10.1-x86-mswin32-60 tasks/spec.rake
do_oracle-0.10.1-x86-mingw32 tasks/spec.rake
do_oracle-0.10.1-java tasks/spec.rake
do_sqlserver-0.10.1-java tasks/spec.rake
do_sqlite3-0.10.1 tasks/spec.rake
do_sqlite3-0.10.1-x86-mswin32-60 tasks/spec.rake
do_sqlite3-0.10.1-x86-mingw32 tasks/spec.rake
do_sqlite3-0.10.1-java tasks/spec.rake
do_postgres-0.10.1 tasks/spec.rake
do_postgres-0.10.1-x86-mswin32-60 tasks/spec.rake
do_postgres-0.10.1-x86-mingw32 tasks/spec.rake
do_postgres-0.10.1-java tasks/spec.rake