Hmm... to know that everything is ok? :)If someone put an "exit" in the
middle of the code, then yes - it's a problem in perl, since you cant make
Test::More catch that exit and replace it with "print test results and then
exit".

But other than that, if errors occur and the code runs "die" in the middle
of the testing - the hopefully the exit code will not only tell the human,
but also the automaton that there was something wrong. Even though the tests
were not finished.

On Fri, Mar 13, 2009 at 2:45 PM, Gabor Szabo <szab...@gmail.com> wrote:

> On Fri, Mar 13, 2009 at 2:40 PM, Evgeny <evgeny.zis...@gmail.com> wrote:
> > If my script ended early, because maybe even a core dump ... the I wont
> > care. It's just another case of a failed test that cant be reported by
> > Test::More, but a human looking at the screen will hopefully understand
> what
> > happened.
>
> Human?
>
> Why would a human look at a test report that says "everything is ok"?
>
> Gabor
>
> Perl 6 Tricks and Treats
> http://szabgab.com/perl6.html
>

Reply via email to