[rspec-users] Programmatically counting RSpec tests?

David Chelimsky dchelimsky at gmail.com
Wed Jun 2 09:02:53 EDT 2010

On Jun 2, 2010, at 7:50 AM, John Feminella wrote:

> If I have an object `obj` that is a SpecTask, and subsequently invoke
> it, is there a way to programmatically determine the number of tests
> that were successful, failed, and pending as a result of running that
> SpecTask?

You could write a custom reporter to collect that information. Which version of rspec are you using?

More information about the rspec-users mailing list