I've already asked my question somewhere else, but I would like to
hear your thoughts on it:
I was wondering about something, cucumber returns an exit code 0
(which means "ok" as far as i know) when a Background fails.
Now failing steps shouldn't probably be in the Background (at best in
a 'before'-hook i guess??). But does anybody know with what philosophy
it returns this exit code? Is it a bug or a feature?
The original question with a code example
http://stackoverflow.com/questions/8559694/cucumber-background-fails-still-exits-with-code-0/8563041
That is a bug. If anything fails, Cucumber should return a non-zero exit status.
cheers,
Matt
--
Freelance programmer & coach
Author, http://pragprog.com/book/hwcuc/the-cucumber-book (with Aslak Hellesøy)
Founder, http://relishapp.com
+44(0)7974430184 | http://twitter.com/mattwynne