Skip to content

Commit

Permalink
Added pod-coverage.t
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 8, 2025
1 parent 4f060e2 commit be7c2f2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Revision history for Grammar-Improver - Use the LanguageTool API to rewrite text
0.02
Use gtar on OS/X
Fix typo RT#158361 (SREZIC)
Use Test::Warnings

0.01 Tue Jan 7 14:40:38 EST 2025
First draft
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ t/eof.t
t/eol.t
t/fixme.t
t/manifest.t
t/pod-coverage.t
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ WriteMakefile(
'Test::Most' => 0,
'Test::Needs' => 0,
'Test::RequiresInternet' => 0,
'Test::Warnings' => 0
}, dist => $dist,
clean => {
FILES => 'Grammar-Improver-*',
Expand Down
3 changes: 2 additions & 1 deletion t/30-basics.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ use warnings;

use Test::Most;
use Test::RequiresInternet ('api.languagetool.org' => 'https');
use Test::Warnings;

BEGIN {
plan(skip_all => 'NO_NETWORK_TESTING set') if $ENV{'NO_NETWORK_TESTING'};
plan(tests => 5);
plan(tests => 6);
use_ok('Grammar::Improver')
}

Expand Down
10 changes: 10 additions & 0 deletions t/pod-coverage.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use strict;
use warnings;

use Test::DescribeMe qw(author);
use Test::Needs { 'Test::Pod::Coverage' => '1.08', 'Pod::Coverage' => 0.18 };

Test::Pod::Coverage->import();
Pod::Coverage->import();

all_pod_coverage_ok();

0 comments on commit be7c2f2

Please sign in to comment.