t/perl/Parrot_IO.t - Parrot::IO unit tests
% prove t/perl/Parrot_IO.t
These tests cover the basic functionality of Parrot::IO::File and Parrot::IO::Directory: directory contents, file read/write/append, modification times, and relative paths.
Parrot::IO::File
Parrot::IO::Directory
read
write
append
There are also a few test for Parrot::IO::Path, the abstract superclass for these two modules, which cover "tmp" paths, and name and suffix recognition.
Parrot::IO::Path
When one or more of the Parrot::IO modules is modified, run the tests to ensure nothing is broken.
Parrot::IO
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.