Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Some tests for non-functional testing - you can copy these test to any your perl project

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 data
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
README
This is set of perl tests for test code quality, if all test passes we know that:
- module have valid syntax and have strict and warnings pragmas
- module have only unix line endings and not have whitespaces in the end of line
- module have no FIXME notes
- module have no soft breakpoints for perl debugger
- module have no tabs
- module is conform to our coding style (=perltidy config)
- module distribution looks good to upload to cpan
- module has portable file names
- code units in module have required cyclomatic complexity and required lines of code
- module code is conform to Perl Best Practice recommendation from Perl::Critic
- module has POD and it is valid
- POD cover all methods
- POD is written on valid human language
- the tests written for module cover needed percent of code

And we can test that module methods have no memory leaks

Using:
git clone https://github.com/worldmind/perl-test-code-quality-template.git
cd perl-test-code-quality-template/
perl Makefile.PL
make
make manifest
make test

# if you make your module based on this you can install it by
make install
Something went wrong with that request. Please try again.