Changeset 5188

Show
Ignore:
Timestamp:
01/21/08 22:28:44 (5 years ago)
Author:
hsbt
Message:

platform/tdiary/Rakefile: add test task.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/Rakefile

    r5181 r5188  
    2323                t.spec_opts = ['--options', 'spec/spec.opts'] 
    2424        end 
     25end 
     26 
     27desc "Run all tests" 
     28task :test do 
     29        require 'test/unit' 
     30        test_files = FileList['test/**/*_test.rb'] 
     31   test_files.each do |t| 
     32                sh "ruby #{t}" 
     33   end 
    2534end 
    2635