Configure Cucumber to collect code coverage statistics.
[Akkordarbeit.git] / tasks / spec_task.rb
blob5c744e8512949fc1a116ff280feb26d4ed65a6e6
1 # vim: fileencoding=UTF-8 ft=ruby syn=ruby ts=2 sw=2 ai eol et si
3 # Copyright (c) 2009 Jörg W Mittag <mailto:JoergWMittag+Akkordarbeit@GoogleMail.Com>
4 # Copyright (c) 2009 Marc Rummel <mailto:Marc.Rummel+Akkordarbeit@GoogleMail.Com>
5 # This code is licensed under the terms of the MIT License (see LICENSE.rdoc)
7 require 'rake'
9 taskdir = File.expand_path(File.dirname __FILE__).gsub(/(.*tasks).*?/, '\1')
11 desc 'Run the Specs'
12 task :spec do
13   FileList[File.join taskdir, '..', 'spec', '**', '*_suite.rb'].each { |specsuite| require specsuite }
14 end