AppleScript and Vimscript for running Ruby tests being edited in MacVim in either Terminal.app or iTerm.app. Works with Rspec, Cucumber, and Test::Unit tests.
An example using jQuery's andSelf, filter, and find functions to locate an element starting with the element itself instead of only looking at its descendants.