Nuvol::Test::Roles - Test functions for Nuvol roles
# File use Nuvol::Test::Roles ':file'; test_file_prerequisites; test_file_applied; test_file_methods; # Metadata use Nuvol::Test::Roles ':metadata'; test_metadata_prerequisites; test_metadata_applied; test_metadata_methods;
Nuvol::Test::Roles provides test functions for Nuvol roles.
test_file_applied $object, $service;
Tests if the File role and the service file role are applied.
test_file_methods $object, $service; # live tests only
Tests if the File methods return values.
test_file_prerequisites $package, $service;
Tests if all the prerequisites for the File and the service file roles are met.
test_folder_applied $object, $service;
Tests if the Folder role and the service folder role are applied.
test_folder_methods $object, $service; # live tests only
Tests if the Folder methods return values.
test_folder_prerequisites $package, $service;
Tests if all the prerequisites for the Folder and the service folder roles are met.
test_metadata_applied $object, $service;
Tests if the Metadata role is applied.
test_metadata_methods $object, $service; # live tests only
Tests if the Metadata methods return values.
test_metadata_prerequisites $package, $service;
Tests if all the prerequisites for the Metadata role are met.
Nuvol::Test, Nuvol::Test::Connector, Nuvol::Test::Drive, Nuvol::Test::Item.
To install Nuvol, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nuvol
CPAN shell
perl -MCPAN -e shell install Nuvol
For more information on module installation, please visit the detailed CPAN module installation guide.