Updated TextMate RSpec bundle
Earlier I mentioned the TextMate bundle for the Ruby RSpec behavior driven development library. Since then, I’ve added a few new features:
- Written a language grammar for RSpec, which provides a bit more contextual highlighting, and makes possible some of the other features. This creates the
source.ruby.rspecscope.
- Added some code to make sure the function pop-up works correctly, as you can see in the little screenshot:
- Moved all the snippets into the
source.ruby.rspecscope so they don’t potentially interfere with other snippets/
- Added two new commands. Run All Specifications runs all the specifications in the current file. Run Focused Specification runs only the specification in your current focus, meaning the one your cursor is inside.
The commands return HTML, thanks to the
speccommand’s built-in formatting, but that formatting may be changing somewhat in the future to provide all sorts of new functionality. Stay tuned.RSpec v1.2 : You can download the latest bundle from here.
This entry was posted at 9:28 pm on 22 October 2006 and is filed under Ruby. You can follow any responses to this entry through the post-specific RSS 2.0 feed.
No comments found.
Responses are currently closed, but you can trackback from your own site.