Check syntax, presence of use strict; and test coverage

Edit Package perl-Test-Strict
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.

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's avatar Dominique Leuenberger (dimstar_suse) accepted request 1102467 from Dirk Stoecker's avatar 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
openSUSE Build Service is sponsored by