NAME
Test::Proto::Role::Tags - Role containing methods for tagging cases and prototypes
SYNOPSIS
This class is not for public consumption, only its methods are.
It is a role used to provide for accessing 'tags', which are flags associated with a test case (Test::Proto::TestCase) or prototype (Test::Proto::Base) to give clues to the runner or formatter to indicate how to deal with the object.
METHODS
tags
$object
->tags;
# returns ['tag1', 'tag2'], etc.
Returns the associated tags.
add_tag
$object
->add_tag(
'author_testing'
);
Adds the tag to the object, and returns the object.
has_tag
$object
->has_tag(
'author_testing'
);
# returns 0 or 1
Determines if the object has this tag. Exact matches only.
remove_tag
$object
->remove_tag(
'author_testing'
);
Removes the tag and returns the object. Does nothing if the tag was not present to begin with.
OTHER INFORMATION
For author, version, bug reports, support, etc, please see Test::Proto.