Skip to content
Go to file
Cannot retrieve contributors at this time
40 lines (34 sloc) 848 Bytes
#!/usr/bin/env rake
# To run all tests at once, simply do:
# bundle exec rake test
# To run unit tests:
# bundle exec rake test:unit
# To turn specs with verbose output:
# bundle exec rake test:spec TESTOPTS="--verbose"
# For additional help:
# rake --tasks
require 'rake/testtask'
require 'bundler/gem_tasks'
namespace :test do do |t|
ENV["RACK_ENV"] = "test"
t.libs << "spec"
t.pattern = "spec/**/*_spec.rb"
end do |t|
ENV["RACK_ENV"] = "test"
t.libs << "test"
t.pattern = "test/**/*_test.rb"
task :all => [:unit, :spec]
desc "Run all test suites"
task :test => 'test:all'
desc "Uninstall the current version of kood"
task :uninstall do
puts `gem uninstall -x kood` # -x flag uninstalls executables too without confirmation
You can’t perform that action at this time.