| 1 |
Revision history for Perl extension Test::Files. |
| 2 |
|
| 3 |
0.26 2024-03-08 |
| 4 |
- Fixed list of required modules. |
| 5 |
- Constider specific of some operating systems in unit tests. |
| 6 |
|
| 7 |
0.25 2024-03-06 |
| 8 |
- Archive (container) comparison implemented. |
| 9 |
- Constider specific of some operating systems in unit tests. |
| 10 |
|
| 11 |
0.24 2024-02-26 |
| 12 |
- Some tests made less strict in case of Windows. |
| 13 |
|
| 14 |
0.23 2024-02-25 |
| 15 |
- Fixed list of required modules. |
| 16 |
|
| 17 |
0.22 2024-02-25 |
| 18 |
- Test on special devices skipped if they are not supported by the current OS or such devices do not exist. |
| 19 |
|
| 20 |
0.21 2024-02-24 |
| 21 |
- Test on special devices skipped if they are not supported by the current OS. |
| 22 |
|
| 23 |
0.20 2024-02-22 |
| 24 |
- Symlink to directory passed as argument to any function dealing with directories is now accepted. |
| 25 |
|
| 26 |
0.19 2024-02-22 |
| 27 |
- Implemented support of the special variable $. if it is needed in the filter function. |
| 28 |
|
| 29 |
0.18 2024-02-21 |
| 30 |
- Improved documentation. |
| 31 |
|
| 32 |
0.17 2024-02-21 |
| 33 |
- Improved documentation. |
| 34 |
|
| 35 |
0.16 2024-02-17 |
| 36 |
- Introduced generic approach of both files, file with string, and directories comparison. |
| 37 |
- Implemented support of file comparison by size and by existence. |
| 38 |
- Implemented find_ok() function. |
| 39 |
- Added option STYLE for a more flexible and convenient presentation of comparison results. |
| 40 |
- Applied Test::Expander in tests for more simplicity and conenience. |
| 41 |
|
| 42 |
0.15 2020-12-01 |
| 43 |
Tue Dec 1 08:22:14 CET 2020 |
| 44 |
- Got rid of index built-in causing severe issues during test coverage |
| 45 |
determination due to a still unfixed bug in Devel::Cover. |
| 46 |
|
| 47 |
0.14 2007-03-28 |
| 48 |
Wed Mar 28 10:14:05 CDT 2007 |
| 49 |
- Removed use Test::More from Test::Files package, which was causing |
| 50 |
chatter during TODO tests that confused the harness. |
| 51 |
Thanks to Julien Beasley for pointing out the problem and to |
| 52 |
Schwern for sending the patch. |
| 53 |
|
| 54 |
Apologies to all CPAN users for omitting the following change entry from |
| 55 |
the 0.13 distribution. |
| 56 |
|
| 57 |
0.13 2007-02-14 |
| 58 |
Wed Feb 14 09:45:54 CST 2007 |
| 59 |
- Added file_filter_ok, like the other filter functions. |
| 60 |
|
| 61 |
0.12 2006-03-01 |
| 62 |
Wed Mar 1 16:35:30 PST 2006 |
| 63 |
Thanks to Robin Barker for help with all of the changes for this release. |
| 64 |
- Added solaris to the list of unix style operating systems in tests 06 |
| 65 |
and 07. |
| 66 |
- Altered the wanted sub in dir_only_contains_ok to test more carefully |
| 67 |
for the base directory (which should be skipped). |
| 68 |
- Corrected base_dir skip test in compare_dirs_only_ok. A recent |
| 69 |
change in File::Spec invalidated the old approach. |
| 70 |
|
| 71 |
0.11 2005-11-07 |
| 72 |
Mon Nov 7 17:01:59 CST 2005 |
| 73 |
- Added Algorithm::Diff to the prereq list in Makefile.PL (Text::Diff |
| 74 |
already requires it, but I wanted to make it more explicit). |
| 75 |
- Corrected docs to explain that compare_dirs_ok and |
| 76 |
compare_dirs_filter_ok compare files from the first directory (and |
| 77 |
its sub dirs) to files in the second directory. Files missing from |
| 78 |
the second directory are noted, but files missing from the first |
| 79 |
directory are not. Callers should combine this test with |
| 80 |
dir_contains_ok or dir_contains_only-ok, if they want to ensure |
| 81 |
that the first directory is complete. |
| 82 |
|
| 83 |
0.10 2005-09-05 |
| 84 |
Mon Sep 5 10:57:12 CDT 2005 |
| 85 |
- Converted to File::Spec inside the module and in the test suite. |
| 86 |
- Added compare_filter_ok which works like compare_dirs_filter_ok, |
| 87 |
but for single comparisons. |
| 88 |
- Added documentation to make clear that this module uses Text::Diff |
| 89 |
to report tables of diff output when text contents of files it is |
| 90 |
comparing differ. |
| 91 |
|
| 92 |
0.05 2003-10-20 |
| 93 |
Mon Oct 20 15:13:50 CDT 2003 |
| 94 |
- Corrected diagnostic output in compare_dirs* so that each missing file |
| 95 |
is listed on its own line. Previously, they were juxtaposed on one |
| 96 |
line, including very pleasant #'s for decoration. |
| 97 |
- Changed Files.pm so none of the tests report timestamps. Some OSes |
| 98 |
(notably Solaris) translated the timestamps, probably to deal with |
| 99 |
time zones. I am explicitly deciding that timestamps do not count |
| 100 |
in file comparisons. If you need to test timestamps, use -M etc. |
| 101 |
Remember that the person installing your module won't always be in |
| 102 |
your timezone. |
| 103 |
- Corrected tests to reflect the removal of time stamps from file_ok |
| 104 |
output. |
| 105 |
- Sorted the list of missing files in compare_dirs* so that I can test |
| 106 |
the error message (and the new vesion is neater). |
| 107 |
|
| 108 |
0.04 2003-10-17 |
| 109 |
Fri Oct 17 09:14:20 CDT 2003 |
| 110 |
- Added compare_dirs_filter_ok which works like compare_dirs_ok, but sends |
| 111 |
each line of input through a caller supplied filter function first. |
| 112 |
This allows you to remove things like timestamps which though different |
| 113 |
should not count as failure. |
| 114 |
- Refactored to avoid code duplication in the compare_dirs* functions. |
| 115 |
- On advice from Schwern, converted tests to use the very nice |
| 116 |
Test::Builder::Tester. This made the tests nicer and easier to work |
| 117 |
on, but had no affect on the Files.pm code. |
| 118 |
- Improved the documentation (well I think it as in improvement) |
| 119 |
|
| 120 |
0.03 2003-10-15 |
| 121 |
Wed Oct 15 10:02:49 CDT 2003 |
| 122 |
- Made various refactorings to increase code reuse. |
| 123 |
- Changed from using Test::Differences to using Text::Diff. This has |
| 124 |
two advantages: |
| 125 |
1. It makes it slightly easier to have the location of the error |
| 126 |
correctly reported when a test fails. |
| 127 |
2. It enables compares_dirs_ok which needs to compare lots of files |
| 128 |
while reporting a single error. |
| 129 |
- Added compare_dirs_ok which compares all files in a pair of directory, |
| 130 |
failing with diff diagnostics if any disagree. |
| 131 |
|
| 132 |
|
| 133 |
0.02 2003-10-13 |
| 134 |
Mon Oct 13 15:03:17 CDT 2003 |
| 135 |
- Added dir_contains_ok which checks a directory for the presence of |
| 136 |
named files. |
| 137 |
- Added dir_only_contains_ok which makes sure that a directory has |
| 138 |
exactly a specified list of elements, nothing more or less. |
| 139 |
This is a bit awkward since you must currently list subdirectories |
| 140 |
explicitly, lest they show up in the list of unexpectedly seen files. |
| 141 |
- Corrected diagnostic output so it works like other Test:: modules. |
| 142 |
Previously, I had folded some error output into the test name |
| 143 |
|
| 144 |
0.01 2003-10-09 |
| 145 |
Thu Oct 9 13:14:55 2003 |
| 146 |
- original version; created by h2xs 1.22 with options |
| 147 |
-AXn Test::Files -b 5.6.0 |