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

2008-09-27 Thread Daniel Lucraft
oups) # clear up formatter rspec_options.instance_variable_set(:@o, nil) # system is now clean (?), and ready to reload specs etc As you can probably tell, I'm coding without really understanding. This works well enough for my needs right now, but please let me know how these thi

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

2008-09-28 Thread Daniel Lucraft
--- Scott Taylor <[EMAIL PROTECTED]> wrote: > 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? The app (www.redcaride.com) has a plugin system with reloading, which lets you wor

[rspec-users] Cucumber branch with a couple of patches

2008-09-18 Thread Daniel Lucraft
Hi all, We're using Cucumber here at songkick.com and it's working really well for us. I've created a branch here with some extra features that we needed: http://github.com/songkick/cucumber/commits/master Specifically, we've made the transactional fixtures optional in Rails (necessary for when

[rspec-users] Programmatically running specs

2008-09-27 Thread Daniel Lucraft
Hi all, does anyone have any tips or examples on how to run specs programmatically? I'd like to manually load some example groups, then perhaps reflect on their describes and its, and then execute them and get back a Ruby object which I can interrogate for the results. thanks Dan ___

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

2008-09-27 Thread Daniel Lucraft
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