Parrot::Test::Perl6 -- testing routines for languages/perl6
use Parrot::Test::Perl6 tests => 3; perl6_output_is(<<'CODE', <<'OUTPUT', 'hello, world!'); say 'hello, world!'; CODE hello, world! OUTPUT perl6_stderr_like($code, qr/$expected/, $desc); perl6_stdout_isnt($code, qr/$expected/, $desc);
This module provides Perl6 test functions. It has been heavily refactored from Parrot::Test. Hopefully,similar refactoring will be carried out in Parrot::Test someday soon.
To install SmartLink, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SmartLink
CPAN shell
perl -MCPAN -e shell install SmartLink
For more information on module installation, please visit the detailed CPAN module installation guide.