Name : perl-Test-Helper
| |
Version : 0.002
| Vendor : N0i_Net
|
Release : 3.n0i.1
| Date : 2005-07-23 16:40:58
|
Group : Development/Libraries
| Source RPM : perl-Test-Helper-0.002-3.n0i.1.src.rpm
|
Size : 0.01 MB
| |
Packager : Marius Feraru < altblue_n0i_net>
| |
Summary : Easy creation of test scripts
|
Description :
Enclose the body of your test script within a test block. Within that block, run individual tests with the ok function, which should be passed a scalar that you desire to be true; this will print \"ok *number*\" or \"not ok *number*\" as appropriate. Similarly, the runs command will expect its body not to signal an error when run; use it with ok, negated or not. Note that the test block keeps track of how many tests there are and outputs the first line accordingly (it stores up the messages); if an uncaught exception is raised within the body, it simulates one last failed test and propagates the exception in order to ensure that it is counted as a failure. comm just writes out a comment to the standard output where it will be visible in verbose testing mode. syntax_check checks the syntax of modules and scripts listed in the MANIFEST.
|
RPM found in directory: /packages/linux-pbone/archive/reb00t.com/fedora/6/perl |