We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d7009 commit 5dc7061Copy full SHA for 5dc7061
Rakefile
@@ -3,25 +3,14 @@
3
require 'bundler/gem_tasks'
4
require 'rake/testtask'
5
6
-Rake::TestTask.new :test do |t|
7
- t.libs = %w(lib test)
8
-
9
- if ARGV.size == 1
10
- t.pattern = 'test/*_test.rb'
11
- else
12
- t.test_files = ARGV[1..-1]
13
- end
14
15
- t.options = '-v' if ENV['CI'] || ENV['VERBOSE']
16
-end
17
18
namespace :test do
19
groups = %i(redis distributed sentinel cluster)
20
groups.each do |group|
21
Rake::TestTask.new(group) do |t|
22
t.libs << "test"
23
t.libs << "lib"
24
t.test_files = FileList["test/#{group}/**/*_test.rb"]
+ t.options = '-v' if ENV['CI'] || ENV['VERBOSE']
25
end
26
27
0 commit comments