{
    "mode": "perldoc",
    "parameter": "Test2::EventFacet::Plan",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Test2%3A%3AEventFacet%3A%3APlan/json",
    "generated": "2026-06-03T07:48:55Z",
    "sections": {
        "NAME": {
            "content": "Test2::EventFacet::Plan - Facet for setting the plan\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Events use this facet when they need to set the plan.\n",
            "subsections": []
        },
        "FIELDS": {
            "content": "$string = $plan->{details}\n$string = $plan->details()\nHuman readable explanation for the plan being set. This is normally not rendered by most\nformatters except when the \"skip\" field is also set.\n\n$positiveint = $plan->{count}\n$positiveint = $plan->count()\nSet the number of expected assertions. This should usually be set to 0 when \"skip\" or \"none\"\nare also set.\n\n$bool = $plan->{skip}\n$bool = $plan->skip()\nWhen true the entire test should be skipped. This is usually paired with an explanation in\nthe \"details\" field, and a \"control\" facet that has \"terminate\" set to 0.\n\n$bool = $plan->{none}\n$bool = $plan->none()\nThis is mainly used by legacy Test::Builder tests which set the plan to \"no plan\", a\nconstruct that predates the much better \"donetesting()\".\n\nIf you are using this in non-legacy code you may need to reconsider the course of your life,\nmaybe a hermitage would suite you?\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::Plan - Facet for setting the plan",
    "flags": [],
    "examples": [],
    "see_also": []
}