Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#568147: ITP: libtest-exit-perl -- Tests whether code exits without terminating testing (http://www.linux-archive.org/debian-development/319413-bug-568147-itp-libtest-exit-perl-tests-whether-code-exits-without-terminating-testing.html)

Maximilian Gass 02-02-2010 05:36 PM

Bug#568147: ITP: libtest-exit-perl -- Tests whether code exits without terminating testing
 
Package: wnpp
Owner: Maximilian Gass <mxey@cloudconnected.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name : libtest-exit-perl
Version : 0.03
Upstream Author : Andrew Rodland <andrew@hbslabs.com>
* URL : http://search.cpan.org/dist/Test-Exit/
* License : Artistic or GPL-1+
Programming Lang: Perl
Description : Tests whether code exits without terminating testing

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.



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 04:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.