Test-Output provides a simple interface for testing output send to STDOUT
or STDERR. A number of different utilies are included to try and be as
flexible as possible to the tester.
To better reflect real programs, tie'ing is no longer used as a capture
method. STDOUT and/or STDERR are now redirected to handles returned by
File::Temp, which makes this module now depend upon File::Tem
Revision history for Test-Output
0.15_01 - Tue May 14 11:57:00 2009
Modified the File::Temp dependency so that it requires version 0.17, since
seekable files aren't supported prior to that release. This should address
Add test case for bug 45748, which was fixed in 0.14.
0.15 - Tue May 12 11:45:00 2009
Fixed a Test::Pod::Coverage test bug.
0.14 - Sat
Added parameter checking to all tests
coderef or die
expout or expstderr set or die
Add tests to ensure they die properly
Add passing an array as expected to cycle through
if expected is an array
order => 1 order doesn't matter
match_any => 1 match any in the array (doesn't match in isnts)
ignore_whitespace =>1 trim all whitespace from output and expected
You can use Test::Output under the same terms as Perl itself.
Browse inside Test-Output-0.15_01.tar.gz
Results 1 - 1 of 1Search over 15 billion files
© 1997-2016 FileWatcher.com