Check syntax, presence of use strict; and test coverage
The most basic test one can write is "does it compile ?". This module tests if the code compiles and play nice with 'Test::Simple' modules.
Another good practice this module can test is to "use strict;" in all perl files.
By setting a minimum test coverage through 'all_cover_ok()', a code author can ensure his code is tested above a preset level of *kwality* throughout the development cycle.
Along with the Test::Pod, this module can provide the first tests to setup for a module author.
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout OBS:Server:2.10/perl-Test-Strict && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| README.md | 0000000346 346 Bytes | |
| Test-Strict-0.54.tar.gz | 0000020923 20.4 KB | |
| _scmsync.obsinfo | 0000000276 276 Bytes | |
| build.specials.obscpio | 0000000256 256 Bytes | |
| cpanspec.yml | 0000000823 823 Bytes | |
| perl-Test-Strict.changes | 0000008310 8.12 KB | |
| perl-Test-Strict.spec | 0000002803 2.74 KB |
Comments 0