Re: [rspec-users] Command line story runner

2008-04-09 Thread Ashley Moran
On 3 Apr 2008, at 15:58, Kyle Hargraves wrote: > This is very tied to the layout of my own projects, and I'd be > surprised if it works out of the box for most people. Right now it > does mostly everything I need, so I'm curious what would be necessary > to make it a viable tool for others to use

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kyle Hargraves
On Fri, Apr 4, 2008 at 7:02 AM, Kamal Fariz <[EMAIL PROTECTED]> wrote: > Hi Kyle, > > I tried the story runner against a story. Unfortunately, it had > problems executing webrat methods like 'visits'. > > Kindly check out this pastie: http://pastie.org/175204 > > I tried running it with the nor

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kyle Hargraves
On Fri, Apr 4, 2008 at 5:21 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > On Thu, Apr 3, 2008 at 7:58 AM, Kyle Hargraves <[EMAIL PROTECTED]> wrote: > > Hullo all, > > > > It sucks to write wrapper .rb files just so stories/all.rb can find > > and run them. > > Here's what my stories/all.rb lo

Re: [rspec-users] Command line story runner

2008-04-04 Thread Joe Van Dyk
On Thu, Apr 3, 2008 at 7:58 AM, Kyle Hargraves <[EMAIL PROTECTED]> wrote: > Hullo all, > > It sucks to write wrapper .rb files just so stories/all.rb can find > and run them. Here's what my stories/all.rb looks like: require File.dirname(__FILE__) + '/helper' Dir[File.dirname(__FILE__) + '/../s

Re: [rspec-users] Command line story runner

2008-04-04 Thread Kamal Fariz
Hi Kyle, I tried the story runner against a story. Unfortunately, it had problems executing webrat methods like 'visits'. Kindly check out this pastie: http://pastie.org/175204 I tried running it with the normal ruby wrapper and it works fine. Regards, Kamal _

Re: [rspec-users] Command line story runner

2008-04-03 Thread Kamal Fariz
> It sucks to write wrapper .rb files just so stories/all.rb can find > and run them. Very nice. I was considering moving over to the Rubyesque stories so that I don't have to have .story files around and the wrapper like you mentioned. The wrapper is the story. http://continuousthinking.com/

[rspec-users] Command line story runner

2008-04-03 Thread Kyle Hargraves
Hullo all, It sucks to write wrapper .rb files just so stories/all.rb can find and run them. So I am trawling for feedback on a small project I pushed to github a day or two ago; it provides a 'story' executable that can be used to run your plain text stories from the command line, akin to the 's