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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/perl-Test-Strict && cd $_
- Create Badge
Refresh
Refresh
Source Files
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
Dominique Leuenberger (dimstar_suse)
accepted
request 1102467
from
Dirk Stoecker (dstoecker)
(revision 10)
- Add test-perl-5.38.patch: Don't simultaneously test -c and -v switches. Patch based on https://patch-diff.githubusercontent.com/raw/manwar/Test-Strict/pull/33.patch.
Comments 0