Test2::Tools::Target - Alias the testing target package.
This lets you alias the package you are testing into a constant and a package variable.
use Test2::Tools::Target 'Some::Package'; CLASS()->xxx; # Call 'xxx' on Some::Package $CLASS->xxx; # Same
Or you can specify names:
use Test2::Tools::Target pkg => 'Some::Package'; PKG()->xxx; # Call 'xxx' on Some::Package $PKG->xxx; # Same
The source code repository for Test2-Suite can be found at http://github.com/Test-More/Test2-Suite/.
Copyright 2017 Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
To install Test2::Suite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test2::Suite
CPAN shell
perl -MCPAN -e shell install Test2::Suite
For more information on module installation, please visit the detailed CPAN module installation guide.