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

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