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.
- Sources inherited from project openSUSE:Factory:Rings:1-MinimalX
- Links to openSUSE:Factory / perl-Test-Strict
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Staging:Gcc7/perl-Test-Strict && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
Test-Strict-0.52.tar.gz | 0000020932 20.4 KB | |
cpanspec.yml | 0000000609 609 Bytes | |
perl-Test-Strict.changes | 0000007354 7.18 KB | |
perl-Test-Strict.spec | 0000002439 2.38 KB | |
test-perl-5.38.patch | 0000003137 3.06 KB |
Latest Revision
Ana Guerrero (anag+factory)
committed
(revision 1)
Comments 0