Test sources for presence/absence of particular modules

Edit Package perl-Test-Uses
http://search.cpan.org/dist/Test-Uses

This is a test helper module, so it is designed to be used in cooperation
with other test modules, such as Test::Simple and Test::More.

The module helps you check through a bunch of code for references to
modules you either (a) want to use, or (b) want to avoid. The module reads
and parses the file (using PPI, and, therefore, dependencies of the file
are not checked). the syntactic check has some advantages. Because no
actual code is loaded, it is safe to use as a test.

One of the best reasons for using this, is to handle code where your
production environment may limit use of modules. This test allows you to
avoid modules that you know are going to cause problems, by adding test
cases which fail when people write code that uses them.
Because pragmas are invoked similarly, you can also detect use of "bad"
pragmas.

Refresh
Refresh
Source Files
Filename Size Changed
Test-Uses-0.01.tar.gz 0000005868 5.73 KB
perl-Test-Uses.changes 0000000452 452 Bytes
perl-Test-Uses.spec 0000002166 2.12 KB
Latest Revision
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 4)
always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
Comments 0
openSUSE Build Service is sponsored by