File: ruby-tests.rake

package info (click to toggle)
ruby-minitest-around 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 176 kB
  • ctags: 28
  • sloc: ruby: 279; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'gem2deb/rake/testtask'

TEST_FILES = FileList.new('test/*_{test,spec}.rb')

desc "Run all tests"
task :test do
  TEST_FILES.each do |test_file|
    sh "bundle", "exec", "rake", "test:isolated", "TEST=#{test_file}"
  end
end

require 'rake/testtask'
Gem2Deb::Rake::TestTask.new do |test|
  test.test_files = TEST_FILES
  test.libs << 'test'
  test.verbose = true
end