GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  POD2TEST (1)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



  pod2test [-Mmodule] [input [output]]



DESCRIPTION

<B>pod2testB> is a front-end for Pod::Tests (formerly Test::Inline 1). It generates TAP-compatible .t testing scripts 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. <B>UNIMPLEMENTEDB>

BUGS and CAVEATS

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

SUPPORT

This script has been superceded by inline2test from the newer Test::Inline 2. Most testing code that currently works with pod2test should continue to work with the new version.

The most notable exceptions are =for begin and =for end, which are deprecated in the newer version.

After upgrading Test::Inline, Pod::Tests and pod2test were split out to provide a compatibility package for legacy code.

pod2test will stay in CPAN, but should remain unchanged indefinately, with the exception of any minor bugs that will require squishing.

Bugs in this dist should be reported via the following URL. Feature requests should not be submitted, as further development is now occuring in Test::Inline.

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pod-Tests>

AUTHOR

Michael G Schwern <schwern@pobox.com>

Adam Kennedy <adamk@cpan.org>

SEE ALSO

Pod::Tests, Test::Inline

COPYRIGHT

Copyright 2005 - 2008 Adam Kennedy.

Copyright 2001 - 2003 Michael G Schwern.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 POD2TEST (1) 2008-07-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.