The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.