The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PANT::Test - PANT support for running tests

SYNOPSIS

use PANT::Test;

$tester = new PANT::Test($xmlwriter);
$tester->runtests(@testlist);

ABSTRACT

This is part of a module to help construct automated build environments.
This part is for running tests.

DESCRIPTION

This module is part of a set to help run automated builds of a project and to produce a build log. This part is designed to incorporate runs of the perl test suite. By careful massage, it is possible (though more tricky than you might think!) to run arbritrary tests that output perl test format output.

EXPORTS

new

Constructor for a test object. Requires an XML::Writer object as a parameter, which it will use for subsequent log construction.

METHODS

runtests

This takes a list of files with tests in to run. The output is trapped and diverted to the logging stream.

SEE ALSO

Makes use of XML::Writer to construct the build log.

AUTHOR

Julian Onions, <julianonions@yahoo.nospam-co.uk>

COPYRIGHT AND LICENSE

Copyright 2005 by Julian Onions

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