Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Test2::Event::Bail - Bailout!

Authors

       Chad Granum <exodist@cpan.org>

Description

       The bailout event is generated when things go horribly wrong and you need to halt all testing in the
       current file.

Maintainers

       Chad Granum <exodist@cpan.org>

Methods

       Inherits from Test2::Event. Also defines:

       $reason = $e->reason
           The reason for the bailout.

Name

       Test2::Event::Bail - Bailout!

Source

       The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

Synopsis

           use Test2::API qw/context/;
           use Test2::Event::Bail;

           my $ctx = context();
           my $event = $ctx->bail('Stuff is broken');

See Also