Test::Valgrind::Action::Test - Test that an analysis didn't generate any error report.
Version 1.19
This action uses Test::Builder to plan and pass or fail tests according to the reports received.
Test::Builder
This class inherits Test::Valgrind::Action and Test::Valgrind::Action::Captor.
new
my $tvat = Test::Valgrind::Action::Test->new( diag => $diag, extra_tests => $extra_tests, %extra_args, );
Your usual constructor.
When $diag is true, the original output of the command and the error reports are intermixed as diagnostics.
$diag
$extra_tests specifies how many extraneous tests you want to plan in addition to the default ones.
$extra_tests
Other arguments are passed straight to Test::Valgrind::Action->new.
Test::Valgrind::Action->new
diag
my $diag = $tvat->diag;
Read-only accessor for the diag option.
kinds
my @kinds = $tvat->kinds;
Returns the list of all the monitored report kinds.
Test::Valgrind, Test::Valgrind::Action.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
<perl at profvince.com>
You can contact me by mail or on irc.perl.org (vincent).
irc.perl.org
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. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-test-valgrind at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Action::Test
Copyright 2009,2010,2011,2013,2015,2016 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.
To install Test::Valgrind, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Valgrind
CPAN shell
perl -MCPAN -e shell install Test::Valgrind
For more information on module installation, please visit the detailed CPAN module installation guide.