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?

Scott

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to