This runs all the xt/author tests, as well as the ordinary tests, after making sure that the build, manifest, and distmeta actions have been taken.
xt/author
To install Test::Trap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Trap
CPAN shell
perl -MCPAN -e shell install Test::Trap
For more information on module installation, please visit the detailed CPAN module installation guide.