[rspec-users] status/exit code for story runner

aslak hellesoy aslak.hellesoy at gmail.com
Sat Jan 5 04:15:10 EST 2008


On Jan 5, 2008 2:39 AM, Ben Mabey <ben at benmabey.com> wrote:
> Hi All,
> I'm trying to incorporate our stories into our build for our
> cruisecrontrol.rb projects and it looks like the Story Runner always
> returns a 0 (zero) no matter if the tests pass or fail.
> This is in contrast to the actual and expected behavior of the spec
> command which will return a 0 or a 1 depending on whether specs pass or
> fail.
>
> Am I doing something wrong with the story runner or would this need to
> be patched to get it to work correctly?
>

It's something we haven't implemented, so a patch at
http://rspec.lighthouseapp.com/ would be great.

Aslak

> Thanks,
>
> Ben
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list