Created
October 2, 2009 20:18
-
-
Save marcoshack/200081 to your computer and use it in GitHub Desktop.
Simple usage example of Rake::TestTask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thx for putting this together, great copy-past snippet!