maltize/sublime-text-2-ruby-tests — pull request #10 by joneath (2011-11-06 02:25:08+00:00)
Title: Added run last test functionality, menu option, and context menu option.

Hey all,

I just started using your plugin today and it works great! The only missing functionality I ran into was not being able to run the last run test. I got used to this functionality when I use Rubymine and decided to add it.

Pressing Command+Shift+E will now run whatever your previously ran test was. This includes a single test or a complete test file.

This was my first time working with the Sublime plugin API so I may not have implemented it the best, but it does work. The only sketchy thing is that the state is being saved to a JSON file that will retain state even when you restart Sublime. It could be thought of as a bug/feature depending on what you want.

Thanks for open sourcing the project!

Jonathan