Sha256: cbc317a8c915c4cbd1bad373d69e8dd847fb4ea64672bb368c89f91c3c9c9915
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
# coding: utf-8 namespace :test do desc 'Run all unit tests' task :unit do $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/..')) files = Dir['test/unit/**/test_*.rb'] + Dir['test/unit/**/*_spec.rb'] files.each {|f| require f } end desc 'Run all examples' task :example do $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/..')) Dir['test/example/**/*.rb'].each {|f| require f } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.6.0.pre3 | tasks/test.rake |