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

SmokeRunner::Multi::Runner::TAPModel - Runner subclass which uses prove

SYNOPSIS

  my $runner = SmokeRunner::Multi::Runner::TAPModel->new( set => $set );

  $runner->run_tests();

  my $model = $runner->model();

DESCRIPTION

This subclass runs tests using Test::TAP::Model

METHODS

This class provides the following methods:

SmokeRunner::Multi::Runner::TAPModel->new(...)

This method creates a new runner object. It requires one parameter:

  • set

    A SmokeRunner::Multi::TestSet object.

$runner->run_tests()

This method runs the tests.

$runner->model()

This returns the Test::TAP::Model object used to run the tests.

$runner->output()

This returns an XML string in the format expected by Smolder (as of Smolder 1.01). Basically, this reimplements the xml() method of Test::TAP::XML, but makes it work with the latest versions of Test::TAP::Model.

AUTHOR

Dave Rolsky, <autarch@urth.org>

BUGS

Please report any bugs or feature requests to bug-smokerunner-multi@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2007 LiveText, Inc., All Rights Reserved.

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.