Check syntax, presence of use strict; and test coverage
http://search.cpan.org/dist/Test-Strict/
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.
- Links to openSUSE:Leap:15.1 / perl-Test-Strict
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.1:Rings:1-MinimalX/perl-Test-Strict && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-Strict-0.40.tar.gz | 0000020208 19.7 KB | |
cpanspec.yml | 0000000469 469 Bytes | |
perl-Test-Strict.changes | 0000003946 3.85 KB | |
perl-Test-Strict.spec | 0000002481 2.42 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
committed
(revision 3)
update link
Comments 0