rlw
2010-Feb-23 19:11 UTC
[rspec-users] Is there a way to terminate a long running spec job...
and still get the output of accumulated errors? My environment is awful, slow, and not modifiable. (Just don''t go there! At least I get to program in Ruby, which makes up for everything else.) So when I see some errors in a 300 example test file, it takes a long time (many minutes) for the file to finish out and give me some meaningful output to start debugging. Is there a way to send a signal to the rspec process and have it terminate and printout the accumulated errors up to that point? TIA, -Robert
Matt Wynne
2010-Feb-23 19:53 UTC
[rspec-users] Is there a way to terminate a long running spec job...
On 23 Feb 2010, at 19:11, rlw wrote:> and still get the output of accumulated errors? > > My environment is awful, slow, and not modifiable. (Just don''t go > there! At least I get to program in Ruby, which makes up for > everything else.) So when I see some errors in a 300 example test > file, it takes a long time (many minutes) for the file to finish out > and give me some meaningful output to start debugging. Is there a way > to send a signal to the rspec process and have it terminate and > printout the accumulated errors up to that point? > > TIA, > -RobertWhy don''t you fiddle with the formatters to output the failures into another file, and then just tail that file for your meaningful output? cheers, Matt http://mattwynne.net +447974 430184
rlw
2010-Feb-23 21:39 UTC
[rspec-users] Is there a way to terminate a long running spec job...
This sounds relatively straightforward - I didn''t know it was a possibility to dump the errors out as things were running. Anyone have sample code? TIA, -Robert On Feb 23, 2:53?pm, Matt Wynne <m... at mattwynne.net> wrote:> Why don''t you fiddle with the formatters to output the failures into ? > another file, and then just tail that file for your meaningful output? > > cheers, > Matt > > http://mattwynne.net > +447974 430184 > > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users