You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
431 B
19 lines
431 B
require 'rake'
|
|
require 'rake/testtask'
|
|
|
|
here = File.expand_path(File.dirname(__FILE__))
|
|
require "#{here}/../../lib/behaviors/reporttask"
|
|
|
|
desc 'Default: run unit tests.'
|
|
task :default => :test
|
|
|
|
Rake::TestTask.new(:test) do |t|
|
|
t.libs << "#{here}/../../lib"
|
|
t.pattern = 'test/**/*_test.rb'
|
|
t.verbose = true
|
|
end
|
|
|
|
Behaviors::ReportTask.new(:behaviors) do |t|
|
|
t.pattern = 'test/**/*_test.rb'
|
|
t.html_dir = 'behaviors_doc'
|
|
end
|
|
|