summaryrefslogtreecommitdiff
path: root/t/lib/Test
Commit message (Collapse)AuthorAge
* Update to rra-c-util 10.1Russ Allbery2021-12-25
|
* Reformat codeRuss Allbery2021-12-24
| | | | | | | Adopt the new -nvc option in Perl::Tidy 20211029 to disable the intrusive vertical alignment formatting. Unfortunately, this breaks all vertical alignment formatting, even when desired, so work around that in a few places with special comments.
* Add *.spin pointers and Markdown supportRuss Allbery2021-12-23
| | | | | | | | | | | Add a new *.spin input file for docknot spin that points to an external file with instructions for how to convert it to HTML. Via this mechanism, support formatting Markdown files as HTML via docknot spin. This support requires the pandoc program be installed. The path to pandoc may be specified in the DocKnot global configuration file. Remove an extra blank line after the leading navbar in output converted from thread.
* Update to rra-c-util 9.1Russ Allbery2021-09-11
| | | | - Ignore backup files when checking for SPDX license identifiers
* Replace more dates in spin test outputRuss Allbery2021-09-10
| | | | Hopefully fixes test issues with CI.
* Use the version of DocKnot in spin outputRuss Allbery2021-09-10
| | | | | Instead of the legacy spin and spin-rss versions, put the version of DocKnot in the comments in generated HTML and RSS.
* Rework spin-rss as a moduleRuss Allbery2021-09-09
| | | | | | | | | | | Rename spin-rss to App::DocKnot::Spin::RSS, add an API, and update the documentation accordingly. Call App::DocKnot::Spin::Thread instead of running spin. Add a basic test for RSS and thread generation from .rss files. Call the new module instead of spin-rss from App::DocKnot::Spin. This has a few horrible hacks to deal with the working directory of thread spinning that will need a better solution later.
* Fix spin with external convertersRuss Allbery2021-09-06
| | | | | | | | | | | | | | | The refactorings broke external converters. Fix that, hopefully, and add a test for pod2html. Refactor the division of labor between the conversion methods and the common method so that it works without reinvoking spin via $FULLPATH. Drop the $FULLPATH global variable. Update perltidy configuration and apply the reformattings to avoid some really horrible formatting decisions in some of the new test code. Add a dependency on Pod::Thread, which is currently only used for the external script but will eventually be used for its API.
* Fix command plumbing for spin and spin-fileRuss Allbery2021-09-06
| | | | | | | | | | | | | Plumb spin and spin-file through App::DocKnot::Command to the docknot frontend again. Add documentation for those commands and their options. Add a test for the command-line interface to ensure that plumbing keeps working in the future. Move the logic to compare a tree of spun files into the Test::DocKnot::Spin module so that it can be shared between the command-line test and the API test. Add the test library modules to POD syntax and spelling checks.
* Create module for spin test functionsRuss Allbery2021-08-31
| | | | | Move some of the functionality of spin/file.t to a new Test::DocKnot::Spin module that will be used for later tests.
* Add documentation of is_file_contentsRuss Allbery2021-07-18
| | | | | In Test::RRA, is_file_contents didn't have any POD documentation. Add some.
* Fix documentation of @CRITIC_IGNORERuss Allbery2021-07-18
| | | | | | The t/data/perl.conf variable @CRITIC_IGNORE had somewhat incorrect documentation after previous changes to the implementation. Update it.
* Update to rra-c-util 9.0Russ Allbery2020-12-25
| | | | | Only module version updates and a minor tweak to ignore the .pc directory when checking for obsolete strings.
* Update to rra-c-util 8.3Russ Allbery2020-07-04
| | | | | * Fix style issues caught by Perl::Critic::Freenode. * Ignore debian/changelog when checking for obsolete strings.
* Update to rra-c-util 8.2Russ Allbery2020-05-16
| | | | | Ignore a top-level .pc directory when checking for SPDX license identifiers.
* Update to rra-c-util 8.1Russ Allbery2020-01-08
| | | | Minor updates due to dropping compatibility with Perl 5.6.
* Update formatting for perltidy 20190601Russ Allbery2019-08-31
|
* Improve error reporting on systems without diffRuss Allbery2019-06-29
| | | | | | | Windows and other systems without diff just abort the test suite if there is any mismatch in output, without reporting what the mismatch is. Instead, fall back on printing the expected and seen output if diff fails.
* Update to rra-c-util 8.0Russ Allbery2018-12-16
| | | | | * Fix t/style/strict.t to skip blib and .git directories. * Update style for the latest perltidy.
* Fix module version updates with new-style packageRuss Allbery2018-06-03
| | | | | | | | t/style/module-version.t -u was rewriting the version to be a quoted string, since this is correct for $VERSION to avoid oddities with trailing zeroes. But this is invalid syntax for package directives including a version. Only do this rewrite for old-style module versions.
* Update to rra-c-util 7.1Russ Allbery2018-02-10
| | | | * Add SPDX-License-Identifier headers to all substantial source files.
* Update to rra-c-util 7.0Russ Allbery2017-12-30
|
* Test our output against the files in the repoRuss Allbery2016-10-25
| | | | | Since we want to commit README and README.md to the repository anyway, we can use them as additional test cases.
* Switch to using is_file_contents from rra-c-utilRuss Allbery2016-10-25
|
* Update to rra-c-util 6.2Russ Allbery2016-10-25
|
* Add standard Perl module tests from rra-c-utilRuss Allbery2015-10-25
Leave out the POD coverage test for right now, since we have no documentation yet, and turn down the expected code coverage to 90% so that tests will pass. Fix a few perltidy and perlcritic complaints.