[rspec-users] Running RSpec from within my Ruby application

Scott Taylor mailing_lists at railsnewbie.com
Sat Sep 27 18:16:46 EDT 2008

On Sep 27, 2008, at 8:02 AM, Daniel Lucraft wrote:

> Hi all
> (I tried to send this question to the list a few hours ago, but it
> seems to have not got through. If it did sorry for the duplication.)
> Does anyone have any tips or examples of how to run RSpec example
> groups programmatically from within a Ruby application?
> Essentially I would like to be able to:
>  1. load example groups from a set of files I know about
>  2. run them
>  3. get back an object that contains information about successes and  
> failures
>  4. reload the example groups

I'm missing the why.  What is the higher-level objective that you're  
trying to accomplish?  Seems like you want something like autotest + a  
custom formatter?


More information about the rspec-users mailing list