I'd like to load all of my examples into memory without actually
running them, so I can traverse the object tree and get descriptions
etc.  I'm finding it tricky to figure out how to do that though.
There seems to be an inherent assumption in the framework that that
examples will actually run.

So basically, I want to do something like this:

examples = load_examples_without_running
examples.each {|example| puts example.description}

def load_examples_without_running
 # what goes here?
end


Does anyone have an idea about how I might do that?

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

Reply via email to