Scroll to navigation

Test::Valgrind::Action::Test(3pm) User Contributed Perl Documentation Test::Valgrind::Action::Test(3pm)

NAME

Test::Valgrind::Action::Test - Test that an analysis didn't generate any error report.

VERSION

Version 1.13

DESCRIPTION

This action uses "Test::Builder" to plan and pass or fail tests according to the reports received.

METHODS

This class inherits Test::Valgrind::Action and Test::Valgrind::Action::Captor.

"new diag => $diag, extra_tests => $extra_tests, ..."

Your usual constructor.
When $diag is true, the original output of the command and the error reports are intermixed as diagnostics.
$extra_tests specifies how many extraneous tests you want to plan in addition to the default ones.
Other arguments are passed straight to "Test::Valgrind::Action->new".

"diag"

Read-only accessor for the "diag" option.

"kinds"

Returns the list of all the monitored report kinds.

SEE ALSO

Test::Valgrind, Test::Valgrind::Action.

AUTHOR

Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
You can contact me by mail or on "irc.perl.org" (vincent).

BUGS

Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.
    perldoc Test::Valgrind::Action::Test

COPYRIGHT & LICENSE

Copyright 2009,2010,2011 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2011-08-25 perl v5.12.4