[Groonga-commit] droonga/fluent-plugin-droonga at c8cfea8 [master] Add test:unit and test:command task

Back to archive index

Yoji Shidara null+****@clear*****
Thu Nov 28 13:08:09 JST 2013


Yoji Shidara	2013-11-28 13:08:09 +0900 (Thu, 28 Nov 2013)

  New Revision: c8cfea816fa162680e40054b338240e41fb16f59
  https://github.com/droonga/fluent-plugin-droonga/commit/c8cfea816fa162680e40054b338240e41fb16f59

  Message:
    Add test:unit and test:command task

  Modified files:
    Rakefile

  Modified: Rakefile (+14 -4)
===================================================================
--- Rakefile    2013-11-28 11:46:31 +0900 (cb5424b)
+++ Rakefile    2013-11-28 13:08:09 +0900 (fce00b6)
@@ -29,10 +29,20 @@ Packnga::DocumentTask.new(spec) do |task|
   task.translate_languages = ["ja"]
 end
 
-desc "Run test"
-task :test do
-  ruby(File.join(File.dirname(__FILE__), "test", "unit", "run-test.rb"))
-  # ruby(File.join(File.dirname(__FILE__), "test", "command", "run-test.rb"))
+namespace :test do
+  desc "Run unit test"
+  task :unit do
+    ruby(File.join(File.dirname(__FILE__), "test", "unit", "run-test.rb"))
+  end
+
+  desc "Run command test"
+  task :command do
+    ruby(File.join(File.dirname(__FILE__), "test", "command", "run-test.rb"))
+  end
 end
 
+desc "Run test"
+#task :test => ["test:unit", "test:command"]
+task :test => "test:unit"
+
 task :default => :test
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index