Name : perl-Test-Helper
| |
Version : 0.002
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.74
| Date : 2024-08-05 17:22:53
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Helper-0.002-6.74.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
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/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/noarch |