[rspec-users] Difference between spec:server and autospec

Scott Taylor scott at railsnewbie.com
Thu Jun 4 02:24:53 EDT 2009

Hunt Jon wrote:
> What's the difference between spec:server and autospec?
I wouldn't recommend using spec server - use spork instead:


Both load the rails environment, so that each time you run your tests 
(with script/spec -X or script/spec --drb) you won't have to wait for it 
to load up (which can take 4-5 seconds).

autospec/autotest, on the other hand, polls the filesystem every 3 
seconds or so for changes.  When it sees one, it reruns just the test or 
spec file which has changed.


More information about the rspec-users mailing list