Home Download Buy Blog Forum Support

GoToSpec plugin

GoToSpec plugin

Postby fcoury on Wed Dec 14, 2011 9:03 pm

The idea behind this plugin is to jump between the RSpec spec file and the test target file, opening both in separate splits for Ruby and Rails projects.

Here's an animated gif of it working:

Image

A 720p YouTube video (best viewed in fullscreen):

http://www.youtube.com/watch?v=on6gR4aEl7k

And the link to the source in GitHub:

https://github.com/webbynode/GoToSpec

If you try this out, let me know what you think.

Best,

-- Felipe.
fcoury
 
Posts: 17
Joined: Wed Dec 14, 2011 5:13 pm

Re: GoToSpec plugin

Postby jaredmoody on Tue Feb 28, 2012 9:34 pm

Hi Felipe,

Thanks for making this, coming to sublime text from textmate, I was looking for something that did this like I was used to. A couple suggestions:

  1. The key combo is a little awkward for me, how about ctrl+shift+down like it was in textmate's go to alternate file?
  2. It would be nice to configure whether you wanted the spec to open in split screen or not. Split screen is fine on my desktop but not so much on my laptop.
  3. It's not working property for my views that are in haml. For example from app/views/accounts/new.haml it tries to create spec/views/new_spec.haml instead of new.haml_spec.rb

I think this is off to a great start!

Jared
jaredmoody
 
Posts: 1
Joined: Tue Feb 28, 2012 9:23 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 14 guests