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 speci‐
25       fied 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 occur‐
47       ing in Test::Inline.
48
49       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pod-Tests>
50

AUTHOR

52       Michael G Schwern <schwern@pobox.com>
53
54       Repackaged by Adam Kennedy <cpan@ali.as>
55

SEE ALSO

57       Pod::Tests, Test::Inline
58
60       Copyright 2002 - 2003 Michael G Schwern. All rights reserved.
61
62       Some parts copyright 2005 Adam Kennedy. All rights reserved.
63
64       This program is free software; you can redistribute it and/or modify it
65       under the same terms as Perl itself.
66
67       The full text of the license can be found in the LICENSE file included
68       with this module.
69
70
71
72perl v5.8.8                       2005-09-21                       POD2TEST(1)
Impressum