Skip to content

Commit

Permalink
added tests has_better_auto_install
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Jul 14, 2011
1 parent 66cbf2e commit d432422
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Module-CPANTS-Analyse/t/02_kwalitee.t
Expand Up @@ -4,7 +4,7 @@ use Test::NoWarnings;

use Module::CPANTS::Kwalitee;

my $CORE = 23;
my $CORE = 24;
my $OPTIONAL = 10; #is_extra set
my $EXTRA = 15; #experimental?
my $METRICS = $CORE + $OPTIONAL + $EXTRA;
Expand Down
21 changes: 14 additions & 7 deletions Module-CPANTS-Analyse/t/10_analyse.t
Expand Up @@ -28,12 +28,13 @@ my @tests = (
'metayml_declares_perl_version' => 0,
'has_example' => 1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 39,
'kwalitee' => 40,
'no_stdin_for_prompting' => 1,
'has_test_pod' => 1,
'easily_repackageable' => 1,
Expand Down Expand Up @@ -84,12 +85,13 @@ my @tests = (
'metayml_declares_perl_version' => 0,
'has_example' => 0,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 0,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 28,
'kwalitee' => 29,
'no_stdin_for_prompting' => 1,
'has_test_pod' => 1,
'easily_repackageable' => 0,
Expand Down Expand Up @@ -178,12 +180,13 @@ my @tests = (
'metayml_declares_perl_version' => 1,
'has_example' => 1,
'has_test_pod_coverage' => 0,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 36,
'kwalitee' => 37,
'no_stdin_for_prompting' => 1,
'has_test_pod' => 1,
'easily_repackageable' => 1,
Expand Down Expand Up @@ -237,12 +240,13 @@ my @tests = (
'metayml_declares_perl_version' => 0,
'has_example' => 1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 37,
'kwalitee' => 38,
'no_stdin_for_prompting' => 1,
'has_test_pod' => 1,
'easily_repackageable' => 1,
Expand Down Expand Up @@ -292,13 +296,14 @@ my @tests = (
'metayml_declares_perl_version' => 1,
'has_example' => 0,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'has_no_patches_in_debian' => 0,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 39,
'kwalitee' => 40,
'no_stdin_for_prompting' => 1,
'has_license_in_source_file' => 1,
'has_test_pod' => 1,
Expand Down Expand Up @@ -345,13 +350,14 @@ my @tests = (
'metayml_declares_perl_version' => 0,
'has_example' => 0,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'has_no_patches_in_debian' => 0,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 37,
'kwalitee' => 38,
'no_stdin_for_prompting' => 1,
'has_license_in_source_file' => 1,
'has_test_pod' => 1,
Expand Down Expand Up @@ -398,13 +404,14 @@ my @tests = (
'metayml_declares_perl_version' => 1,
'has_example' => 1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'has_no_patches_in_debian' => 0,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 40,
'kwalitee' => 41,
'no_stdin_for_prompting' => 1,
'has_license_in_source_file' => 1,
'has_test_pod' => 1,
Expand Down
3 changes: 2 additions & 1 deletion Module-CPANTS-Analyse/t/calc.t
Expand Up @@ -41,13 +41,14 @@ my $expected_kwalitee = {
'manifest_matches_dist' => 1,
'has_example' => 1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'easily_repackageable' => 0,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 28,
'kwalitee' => 29,
'has_test_pod' => 1,
'has_tests' => 1,
'easily_repackageable_by_debian' => 1,
Expand Down
3 changes: 2 additions & 1 deletion Module-CPANTS-Analyse/t/calc_test_yaml_meta.t
Expand Up @@ -37,13 +37,14 @@ my $expected_kwalitee = {
'manifest_matches_dist' => 1,
'has_example' =>1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'easily_repackageable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 39,
'kwalitee' => 40,
'has_test_pod' => 1,
'has_tests' => 1,
'easily_repackageable_by_debian' => 1,
Expand Down
3 changes: 2 additions & 1 deletion Module-CPANTS-Analyse/t/generated_files.t
Expand Up @@ -22,12 +22,13 @@ my $expected = {
'metayml_declares_perl_version' => 0,
'has_example' => 1,
'has_test_pod_coverage' => 1,
'has_better_auto_install' => 1,
'metayml_is_parsable' => 1,
'proper_libs' => 1,
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
'kwalitee' => 26,
'kwalitee' => 27,
'no_stdin_for_prompting' => 1,
'has_test_pod' => 1,
'easily_repackageable' => 0,
Expand Down

0 comments on commit d432422

Please sign in to comment.