Changes for version 0.002 - 2026-09-19
- Let a distribution say which tests reach a file that no test loads, such as a template a test reads, through a map: a code reference, or .tests-covering-map.pl at the root, or --map. A file the map names stands in for the changed one. (GH #1)
- With unexplained => 'all', or --unexplained all, a change that neither a record nor the map explains runs every test.
- The blocks of a parsed diff carry the text of their lines, for a map to read.
- A map says that a path reaches no test by returning NO_TESTS, which Perl::Tests::Covering exports on request. Returning the path itself, as the map documentation said before, now makes it a stand-in that no test loads, which leaves the path unexplained. (GH #2)
- A stand-in that no test loads no longer explains a path, so --unexplained all runs every test for it. (GH #2)
- The map is asked about a Perl file that a diff adds, for code that finds modules at run time. When it says nothing, the file counts as explained, as before. (GH #2)
Documentation
Print the tests that cover the files, subs or changes you name.
Modules
Which tests run the file you just changed, from coverage kept on disk.
Writes down every file a perl loaded, as it exits.