libtest-exit-perl

Perl module for testing whether code exits without terminating

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Test-Exit/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtest-exit-perl