source: trunk/LATMOS-Accounts/t/01_pod.t @ 2099

Last change on this file since 2099 was 1023, checked in by nanardon, 12 years ago
  • complete POD

This patch a basic documentation to all functions.
It also add two test to ensure all POD syntax are correct and coverage is full.

File size: 356 bytes
Line 
1use strict;
2use warnings;
3use Test::More;
4use Test::Pod;
5
6eval "use Pod::Checker";
7plan skip_all => 'Pod::Checker required' if $@;
8
9my @pods = (
10    all_pod_files('blib', 'man'),
11);
12
13plan tests => scalar(@pods) * 2;
14
15foreach(@pods) {
16    my $errors = podchecker($_);
17    ok($errors >= 0, "File $_ contains pod");
18    ok($errors <= 0, "Check Pod of $_");
19}
Note: See TracBrowser for help on using the repository browser.