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 08bfebc commit 93837afCopy full SHA for 93837af
Rakefile
@@ -24,11 +24,24 @@ rescue LoadError
24
end
25
26
require 'rake/testtask'
27
-Rake::TestTask.new(:test) do |test|
+namespace :test do
28
+Rake::TestTask.new(:units) do |test|
29
test.libs << 'lib' << 'test/lib'
- test.pattern = 'test/**/*test.rb'
30
+ test.pattern = 'test/units/*test.rb'
31
test.verbose = true
32
33
+Rake::TestTask.new(:integration) do |test|
34
+ test.libs << 'lib' << 'test/lib'
35
+ test.pattern = 'test/integration/*test.rb'
36
+ test.verbose = true
37
+end
38
39
+
40
+desc "Run all tests"
41
+task :test do
42
+ Rake::Task['test:units'].invoke
43
+ Rake::Task['test:integration'].invoke
44
45
46
begin
47
require 'rcov/rcovtask'
0 commit comments