[rspec-users] How to trace running spec

Ben Mabey ben at benmabey.com
Sun Jan 13 16:28:50 EST 2008


Ben Greenberg wrote:
> Hey all,
>
> I have a spec that is hanging when it is running.
>
> How do I get the rspec runner to show what specs it's running so I can 
> which one is hanging?  I am calling the runner from my rails project.
>
> Thanks,
> Ben
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>   
Which formatter ate you using?  If you use the specdoc formatter it will 
output the specs as it goes so you can tell where it is hanging.  Also, 
there is a profiling one that will list the slowest specs.  Run "spec 
-h" for more info.

-Ben


More information about the rspec-users mailing list