If you're using RSpec in Rails then Guard (or Watchr which I use and don't notice much delay) + Spork is the way to go, but I don't have to switch apps to see the specs as I have specs running on my second screen and just keep them in the corner of my vision rather than focus on them - if you have limited real estate then can always use Growl with RSpec too.

On 17/02/2012 1:31PM, Matthew House wrote:
oh don't get me wrong, guard and fs-events are fast as… it's just that
spinning up rails and test dependancies are what takes the time.

On Fri, Feb 17, 2012 at 1:30 PM, Tekin Suleyman<[email protected]>  wrote:
Yeah, it does surprise me that guard is so slow to react to file changes - I'm 
on OS X and so it should be hooking into fs-events, I'd expect guard to spin up 
tests fairly sharpish. Autotest certainly used to…. Maybe there is some sort of 
configuration that can be made to get over the delay.

--
Tekin Suleyman
--
http://tekin.co.uk
Twitter http://twitter.com/tekin

On 17 Feb 2012, at 13:11, Matthew House wrote:

I guess that depends a lot on your workflow.

for me being able to run the current spec file with a keyboard
shortcut and see the result instantly in my editor makes the process
flow nicely enough that alt-tabbing to a terminal forces too much of a
context switch overhead.

On Fri, Feb 17, 2012 at 1:08 PM, Ash Moran<[email protected]>  wrote:
On 17 Feb 2012, at 12:58, Matthew House wrote:

Guards pretty cool but in my experience it's far too easy to outpace,
especially if you're loading rails in all of your specs.
This is true. Guard gives you no real advantage if you have to wait for Rails 
to load, but I've found it absolutely priceless with code that is predominantly 
unit-tested.

Ash

--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashmoran

--
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.



--
Matt House
http://eightbitraptor.com
@eightbitraptor

--
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.




--
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.

Reply via email to