desc "Run tests and cache result in fixtures" task 'test:cache' do ENV['CACHE_RESULT'] = 'true' Rake::Task['test'].invoke end desc "Run tests without cache" task 'test:cacheless' do ENV['NO_CACHE'] = 'true' Rake::Task['test'].invoke end