Is there a way to programmatically count RSpec tests?

Posted by John Feminella on Stack Overflow See other posts from Stack Overflow or by John Feminella
Published on 2010-06-02T12:37:22Z Indexed on 2010/06/02 12:44 UTC
Read the original article Hit count: 199

Filed under:
|
|

Given a Rakefile that executes some RSpec tests by way of a Spec::Rake::SpecTask, how can I programmatically determine the number of tests that passed, failed, and are pending once the task that ran the tests is finished?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rspec