1POD2TEST(1)           User Contributed Perl Documentation          POD2TEST(1)
2
3
4

NAME

6       pod2test - Convert embedded tests and code examples to .t files
7

SYNOPSIS

9         pod2test [-Mmodule] [input [output]]
10

DESCRIPTION

12       pod2test is a front-end for Pod::Tests (formerly Test::Inline 1).  It
13       generates TAP-compatible .t testing scripts from embedded tests and
14       code examples.
15
16       If output is not specified, the resulting .t file will go to STDOUT.
17       Otherwise, it will go to the given output file.  If input is not given,
18       it will draw from STDIN.
19
20       If the given file contains no tests or code examples, no output will be
21       given, no output file will be created and pod2test will exit with 1.
22
23       The Test::More module is made available to the testing blocks using the
24       'no_plan' feature.  Any further modules which should be used are
25       specified with -M. UNIMPLEMENTED
26

BUGS and CAVEATS

28       This is a very simple rough cut.  It only does very rudimentary tests
29       on the examples.
30

SUPPORT

32       This script has been superceded by "inline2test" from the newer
33       Test::Inline 2. Most testing code that currently works with "pod2test"
34       should continue to work with the new version.
35
36       The most notable exceptions are "=for begin" and "=for end", which are
37       deprecated in the newer version.
38
39       After upgrading Test::Inline, Pod::Tests and "pod2test" were split out
40       to provide a compatibility package for legacy code.
41
42       "pod2test" will stay in CPAN, but should remain unchanged indefinately,
43       with the exception of any minor bugs that will require squishing.
44
45       Bugs in this dist should be reported via the following URL. Feature
46       requests should not be submitted, as further development is now
47       occuring in Test::Inline.
48
49       http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pod-Tests
50       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pod-Tests>
51

AUTHOR

53       Michael G Schwern <schwern@pobox.com>
54
55       Adam Kennedy <adamk@cpan.org>
56

SEE ALSO

58       Pod::Tests, Test::Inline
59
61       Copyright 2005 - 2008 Adam Kennedy.
62
63       Copyright 2001 - 2003 Michael G Schwern.
64
65       This program is free software; you can redistribute it and/or modify it
66       under the same terms as Perl itself.
67
68       The full text of the license can be found in the LICENSE file included
69       with this module.
70
71
72
73perl v5.12.0                      2008-07-13                       POD2TEST(1)
Impressum