Test that some code calls exit() without terminating testing
https://metacpan.org/release/Test-Exit
Test::Exit provides some simple tools for testing code that might call 'exit()', providing you with the status code without exiting the test file.
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 catch it yourself. 'die()'ing is not exiting for the purpose of these tests.
Unlike previous versions of this module, the current version doesn't use exceptions to do its work, so even if you call 'exit()' inside of an 'eval', everything should work.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Test-Exit && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-Exit-0.11.tar.gz | 0000009778 9.55 KB | |
perl-Test-Exit.changes | 0000000192 192 Bytes | |
perl-Test-Exit.spec | 0000002190 2.14 KB |
Latest Revision
Stephan Kulow (coolo)
accepted
request 1010410
from
Dirk Stoecker (dstoecker)
(revision 1)
For perl-App-Sqitch update
Comments 0