r2338 - packages/libtest-use-ok-perl/trunk/debian

Krzysztof Krzyzaniak eloy at costa.debian.org
Mon Mar 13 21:24:23 UTC 2006


Author: eloy
Date: 2006-03-13 21:24:22 +0000 (Mon, 13 Mar 2006)
New Revision: 2338

Modified:
   packages/libtest-use-ok-perl/trunk/debian/control
Log:
eloy: better description


Modified: packages/libtest-use-ok-perl/trunk/debian/control
===================================================================
--- packages/libtest-use-ok-perl/trunk/debian/control	2006-03-13 20:09:26 UTC (rev 2337)
+++ packages/libtest-use-ok-perl/trunk/debian/control	2006-03-13 21:24:22 UTC (rev 2338)
@@ -10,15 +10,6 @@
 Package: libtest-use-ok-perl
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, 
-Description: Alternative to Test::More::use_ok
- According to the Test::More documentation, it is recommended to run use_ok()
- inside a BEGIN block, so functions are exported at compile-time and 
- prototypes are properly honored.
- .
- However, people often either forget to add BEGIN, or mistakenly group use_ok 
- with other tests in a single BEGIN block, which can create subtle differences 
- in execution order.
- .
- With this module, simply change all use_ok in test scripts to use ok, and 
- they will be executed at BEGIN time. The explicit space after use makes it 
- clear that this is a single compile-time action.
+Description: Tests if a Perl module loads ok.
+  Like Test::More::use_ok Test::use::ok can be used in test scripts to
+  check if a module loads ok but its usage is less error-prone.




More information about the Pkg-perl-cvs-commits mailing list