logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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>.  I will be notified, and
       then you'll automatically be notified of progress on your bug as I make changes.

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"
           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.

       $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"
           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.

Name

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

See Also

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

Support

       You can find documentation for this module with the perldoc command.

           perldoc Test::Valgrind::Action::Test

Version

       Version 1.19

See Also