| 1 |
Test-Command-Simple |
| 2 |
|
| 3 |
This test module is intended to simplify testing of external commands. |
| 4 |
It does so by running the command under IPC::Open3, closing the stdin |
| 5 |
immediately, and reading everything from the command's stdout and stderr. |
| 6 |
It then makes the output available to be tested. |
| 7 |
|
| 8 |
It is not (yet?) as feature-rich as Test::Cmd, but I think the |
| 9 |
interface to this is much simpler. Tests also plug directly into the |
| 10 |
Test::Builder framework, which plays nice with Test::More. |
| 11 |
|
| 12 |
|
| 13 |
INSTALLATION |
| 14 |
|
| 15 |
To install this module, run the following commands: |
| 16 |
|
| 17 |
perl Build.PL |
| 18 |
./Build |
| 19 |
./Build test |
| 20 |
./Build install |
| 21 |
|
| 22 |
SUPPORT AND DOCUMENTATION |
| 23 |
|
| 24 |
After installing, you can find documentation for this module with the |
| 25 |
perldoc command. |
| 26 |
|
| 27 |
perldoc Test::Command |
| 28 |
|
| 29 |
You can also look for information at: |
| 30 |
|
| 31 |
RT, CPAN's request tracker |
| 32 |
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Command-Simple |
| 33 |
|
| 34 |
AnnoCPAN, Annotated CPAN documentation |
| 35 |
http://annocpan.org/dist/Test-Command-Simple |
| 36 |
|
| 37 |
CPAN Ratings |
| 38 |
http://cpanratings.perl.org/d/Test-Command-Simple |
| 39 |
|
| 40 |
Search CPAN |
| 41 |
http://search.cpan.org/dist/Test-Command-Simple/ |
| 42 |
|
| 43 |
|
| 44 |
LICENSE AND COPYRIGHT |
| 45 |
|
| 46 |
Copyright (C) 2010 Darin McBride |
| 47 |
|
| 48 |
This program is free software; you can redistribute it and/or modify it |
| 49 |
under the terms of either: the GNU General Public License as published |
| 50 |
by the Free Software Foundation; or the Artistic License. |
| 51 |
|
| 52 |
See http://dev.perl.org/licenses/ for more information. |
| 53 |
|