From e81d29a6111f64d412f9650b2fd58f1cc74fbb2f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 5 Apr 2020 13:22:21 -0700 Subject: [PATCH] Move test requirements to Testing section --- MANIFEST | 2 ++ README | 32 ++++++++++++++++---------------- README.md | 32 ++++++++++++++++---------------- docs/metadata/requirements | 16 ---------------- docs/metadata/test/suffix | 15 +++++++++++++++ 5 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 docs/metadata/test/suffix diff --git a/MANIFEST b/MANIFEST index 4fc5d2c..3f6d7b2 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,6 +1,7 @@ .github/workflows/build.yaml .gitignore Changes +cpanfile docs/metadata/blurb docs/metadata/description docs/metadata/metadata.json @@ -8,6 +9,7 @@ docs/metadata/notices docs/metadata/quote docs/metadata/README docs/metadata/requirements +docs/metadata/test/suffix examples/generate-colors lib/Term/ANSIColor.pm LICENSE diff --git a/README b/README index c9d1434..7367b4a 100644 --- a/README +++ b/README @@ -60,22 +60,6 @@ REQUIREMENTS module documentation. If you have any additions to the table in the documentation, please send them to me. - The following additional Perl modules will be used by the test suite if - present: - - * Devel::Cover - * Test::MinimumVersion - * Test::Perl::Critic - * Test::Pod - * Test::Pod::Coverage - * Test::Spelling - * Test::Strict - * Test::Synopsis - * Test::Warn - - All are available on CPAN. Those tests will be skipped if the modules - are not available. - BUILDING AND INSTALLATION Term::ANSIColor uses ExtUtils::MakeMaker and can be installed using the @@ -99,6 +83,22 @@ TESTING prove -vb + The following additional Perl modules will be used by the test suite if + present: + + * Devel::Cover + * Test::MinimumVersion + * Test::Perl::Critic + * Test::Pod + * Test::Pod::Coverage + * Test::Spelling + * Test::Strict + * Test::Synopsis + * Test::Warn + + All are available on CPAN. Those tests will be skipped if the modules + are not available. + To enable tests that don't detect functionality problems but are used to sanity-check the release, set the environment variable RELEASE_TESTING to a true value. To enable tests that may be sensitive to the local diff --git a/README.md b/README.md index 15db944..5cc2ed2 100644 --- a/README.md +++ b/README.md @@ -64,22 +64,6 @@ For a terminal emulator compatibility list, see the Term::ANSIColor module documentation. If you have any additions to the table in the documentation, please send them to me. -The following additional Perl modules will be used by the test suite if -present: - -* Devel::Cover -* Test::MinimumVersion -* Test::Perl::Critic -* Test::Pod -* Test::Pod::Coverage -* Test::Spelling -* Test::Strict -* Test::Synopsis -* Test::Warn - -All are available on CPAN. Those tests will be skipped if the modules are -not available. - ## Building and Installation Term::ANSIColor uses ExtUtils::MakeMaker and can be installed using the @@ -109,6 +93,22 @@ If a test vails, you can run a single test with verbose output via: prove -vb ``` +The following additional Perl modules will be used by the test suite if +present: + +* Devel::Cover +* Test::MinimumVersion +* Test::Perl::Critic +* Test::Pod +* Test::Pod::Coverage +* Test::Spelling +* Test::Strict +* Test::Synopsis +* Test::Warn + +All are available on CPAN. Those tests will be skipped if the modules are +not available. + To enable tests that don't detect functionality problems but are used to sanity-check the release, set the environment variable `RELEASE_TESTING` to a true value. To enable tests that may be sensitive to the local diff --git a/docs/metadata/requirements b/docs/metadata/requirements index 7f6d973..a4bd245 100644 --- a/docs/metadata/requirements +++ b/docs/metadata/requirements @@ -13,19 +13,3 @@ work, as they do not even attempt to support ANSI X3.64. For a terminal emulator compatibility list, see the Term::ANSIColor module documentation. If you have any additions to the table in the documentation, please send them to me. - -The following additional Perl modules will be used by the test suite if -present: - -* Devel::Cover -* Test::MinimumVersion -* Test::Perl::Critic -* Test::Pod -* Test::Pod::Coverage -* Test::Spelling -* Test::Strict -* Test::Synopsis -* Test::Warn - -All are available on CPAN. Those tests will be skipped if the modules are -not available. diff --git a/docs/metadata/test/suffix b/docs/metadata/test/suffix new file mode 100644 index 0000000..e431742 --- /dev/null +++ b/docs/metadata/test/suffix @@ -0,0 +1,15 @@ +The following additional Perl modules will be used by the test suite if +present: + +* Devel::Cover +* Test::MinimumVersion +* Test::Perl::Critic +* Test::Pod +* Test::Pod::Coverage +* Test::Spelling +* Test::Strict +* Test::Synopsis +* Test::Warn + +All are available on CPAN. Those tests will be skipped if the modules are +not available.