{
    "mode": "perldoc",
    "parameter": "Test2::EventFacet::Assert",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Test2%3A%3AEventFacet%3A%3AAssert/json",
    "generated": "2026-06-09T21:48:34Z",
    "sections": {
        "NAME": {
            "content": "Test2::EventFacet::Assert - Facet representing an assertion.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The assertion facet is provided by any event representing an assertion that was made.\n",
            "subsections": []
        },
        "FIELDS": {
            "content": "$string = $assert->{details}\n$string = $assert->details()\nHuman readable description of the assertion.\n\n$bool = $assert->{pass}\n$bool = $assert->pass()\nTrue if the assertion passed.\n\n$bool = $assert->{nodebug}\n$bool = $assert->nodebug()\nSet this to true if you have provided custom diagnostics and do not want the defaults to be\ndisplayed.\n\n$int = $assert->{number}\n$int = $assert->number()\n(Optional) assertion number. This may be omitted or ignored. This is usually only useful\nwhen parsing/processing TAP.\n\nNote: This is not set by the Test2 system, assertion number is not known until AFTER the\nassertion has been processed. This attribute is part of the spec only for harnesses.\n",
            "subsections": []
        },
        "SOURCE": {
            "content": "The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n",
            "subsections": []
        },
        "MAINTAINERS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2020 Chad Granum <exodist@cpan.org>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nSee http://dev.perl.org/licenses/\n",
            "subsections": []
        }
    },
    "summary": "Test2::EventFacet::Assert - Facet representing an assertion.",
    "flags": [],
    "examples": [],
    "see_also": []
}