pod2test(1)

NAME

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

SYNOPSIS

pod2test [-Mmodule] [input [output]]

DESCRIPTION

pod2test is a front-end for Test::Inline. It generates MakeMaker style .t testing files from embedded tests and
code examples.

If output is not specified, the resulting .t file will go
to STDOUT. Otherwise, it will go to the given output
file. If input is not given, it will draw from STDIN.

If the given file contains no tests or code examples, no
output will be given, no output file will be created and
pod2test will exit with 1.

The Test::More module is made available to the testing
blocks using the 'no_plan' feature. Any further modules
which should be used are specified with -M. UNIMPLEMENTED

BUGS and CAVEATS

This is a very simple rough cut. It only does very rudi
mentary tests on the examples.

AUTHOR

Michael G Schwern <schwern@pobox.com>

SEE ALSO

Test::Inline
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout