Test::Proto::Role::Tags - Role containing methods for tagging cases and prototypes
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.
$object->tags; # returns ['tag1', 'tag2'], etc.
Returns the associated tags.
$object->add_tag('author_testing');
Adds the tag to the object, and returns the object.
$object->has_tag('author_testing'); # returns 0 or 1
Determines if the object has this tag. Exact matches only.
$object->remove_tag('author_testing');
Removes the tag and returns the object. Does nothing if the tag was not present to begin with.
For author, version, bug reports, support, etc, please see Test::Proto.
To install Test::Proto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Proto
CPAN shell
perl -MCPAN -e shell install Test::Proto
For more information on module installation, please visit the detailed CPAN module installation guide.