File: ruby-tests.rake

package info (click to toggle)
ruby-mocha 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,644 kB
  • sloc: ruby: 12,310; javascript: 499; makefile: 14
file content (12 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require 'gem2deb/rake/testtask'

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test']
  all_tests = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']

  # Exclude the Test::Unit integration test that deliberately enforces
  # require 'test/unit' before require 'mocha/test_unit'. gem2deb's generic
  # test runner can't satisfy that ordering, and upstream doesn't run this
  # file in their normal CI anyway (they're all Minitest).
  t.test_files = all_tests.exclude('test/integration/test_unit_test.rb')
end