Skip to content

Instantly share code, notes, and snippets.

@tpitale
Created March 14, 2012 14:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpitale/2037000 to your computer and use it in GitHub Desktop.
Save tpitale/2037000 to your computer and use it in GitHub Desktop.
Handy little script to run a glob directory of test/unit tests
#!/usr/bin/env ruby
$: << 'test' << 'lib'
Dir.glob(ARGV).each {|f| load f unless f =~ /^-/}
# Usage: ruby_test test/unit/**/*.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment