Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'rake/testtask'
- gem 'ci_reporter'
- require 'ci/reporter/rake/test_unit'
- Rake::TestTask.new(:testNonDB) do |t| # Add a testtask called testNonDB
- t.pattern = 'test/nonDB/**/*_test.rb' # Include everything in the test/nonDB directory with the suffix _test.rb
- t.verbose = true
- t.warning = true
- end
- Rake::TestTask.new(:testInvolvingDB) do |t| # Add a testtask called testInvolvingDB
- t.pattern = 'test/involvingDB/**/*_test.rb' # Include everything in the test/involvingDB directory with the suffix _test.rb
- t.verbose = true
- t.warning = true
- end
- task :testNonDB => ['ci:setup:testunit']
- task :testInvolvingDB => ['ci:setup:testunit']
Add Comment
Please, Sign In to add comment