Test2::Event::Fail(3pm)

Test2::Event::Fail3pm

Event for a simple failed assertion

Usage

    use Test2::API qw/context/;
    sub fail {
        my ($name) = @_;
        my $ctx = context();
        $ctx->fail($name);
        $ctx->release;
    }

Overview

This is an optimal representation of a failed assertion.

Source

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

Maintainers

Chad Granum <[email protected]>

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Authors

Chad Granum <[email protected]>

From libtest-simple-perl 1.302210-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.