hi all,
I have a quick question - is there a way to write a command that would run the previously run ruby test - whether it was a whole test case (command R) or the 'focused test run' ? I often want to tweak code, rerun the last test, tweak code, rerun, etc....So basically I could map ctrl-cmd-R to 'rerun previous test run', and it would be smart enough to run whatever I ran last.
thanks, Rob
On Dec 19, 2006, at 2:15 AM, Rob Sanheim wrote:
hi all,
I have a quick question - is there a way to write a command that would run the previously run ruby test - whether it was a whole test case (command R) or the 'focused test run' ? I often want to tweak code, rerun the last test, tweak code, rerun, etc....So basically I could map ctrl-cmd-R to 'rerun previous test run', and it would be smart enough to run whatever I ran last.
It's possible, sure. You would need to modify each test command to store the test it ran in a preference file somewhere, then build a command that reads that an reruns.
James Edward Gray II