[rspec-users] Return code for running stories

Kero rspec-users at kero.tmfweb.nl
Sat May 3 04:34:32 EDT 2008


>> I see neither #with_steps_for, nor #run return anything resembling
>> the result of the tests (which does not really surprise me).
>>
>> So how to get the success/pending/failure of the stories out?
>> Should I write a formatter/listener that exit(1)s on failure?
>>
>> PS: I'm back after a few months, and -behold- it looks like I
>> can use rspec for work, too :)
>
> This does not work in rspec 1.1.3.  I submitted a patch to add this  
> functionality and it has already been accepted.  So you can upgrade to  
> edge rspec to get this functionality or just apply my patch.:
> http://rspec.lighthouseapp.com/projects/5645/tickets/228-story-runner-exit-code

Ironic, this is about the first thing that happened when I stepped
off the list ;)

Also, I had looked at HEAD svn, but it seems I need a git repo.
Good, I like git!

OK, seems to work, great! thanks!

Bye,
Kero.


More information about the rspec-users mailing list