Skip to content

Instantly share code, notes, and snippets.

@jcsalterego
Created October 31, 2013 16:36
Show Gist options
  • Save jcsalterego/7252834 to your computer and use it in GitHub Desktop.
Save jcsalterego/7252834 to your computer and use it in GitHub Desktop.
#!/bin/bash
files=""
for arg in $@; do
files="$files $(find test/ -name ${arg}_test.rb)"
done
echo "Testing: $files"
/Users/cicero/.rvm/rubies/ruby-1.8.6-p420/bin/ruby -I"lib:test" "/Users/cicero/.rvm/gems/ruby-1.8.6-p420@global/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" $files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment