Perl module for testing whether code exits without terminating
Test::Exit provides some simple tools for testing that code does or does not
call exit(), while stopping code that does exit at the point of the exit().
Currently it does so by means of exceptions, so it will not function properly
if the code under test calls exit() inside of an eval block or string.
.
The only criterion tested is that the supplied code does or does not call
exit(). If the code throws an exception, the exception will be propagated and
you will have to call it yourself. die()ing is not exiting for the purpose of
these tests.
Attachment | Size | Date |
---|---|---|
libtest-exit-perl_0.03-1_all.deb | 8.45 KB | 05/08/2013 - 13:34 |
libtest-exit-perl (0.03-1) unstable; urgency=low
* Initial Release (closes: #568147)
Recent comments