The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Test::Proto::TestCase - an individual test case

SYNOPSIS

Holds attributes to describe the test - the name of the test, the parameters (data) and the code to be executed.

All the attributes are chainable when used as setters (they return the TestCase).

In addition to those documented below, the TestCase can have tags - see Test::Proto::Role::Tagged for details.

ATTRIBUTES

name

Returns the name of the test.

code

Returns the code.

data

Returns the data.