Skip to content

Instantly share code, notes, and snippets.

@marcoshack
Created October 2, 2009 20:18
Show Gist options
  • Select an option

  • Save marcoshack/200081 to your computer and use it in GitHub Desktop.

Select an option

Save marcoshack/200081 to your computer and use it in GitHub Desktop.
Simple usage example of Rake::TestTask
require 'rake/testtask'
task :default => [:test]
task :test do
Rake::TestTask.new do |t|
t.libs << "test"
t.options = "-v"
t.test_files = FileList['test/tc*.rb']
t.verbose = true
end
end
@grosser

grosser commented Feb 8, 2017

Copy link
Copy Markdown

Thx for putting this together, great copy-past snippet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment