Nuvol::Test::Item - Test functions for Nuvol items
use Nuvol::Test::Item ':all'; use Nuvol::Test::Item ':build'; # build_test_item my $item = build_test_item $service; test_basics; test_type; test_url;
Nuvol::Test::Item provides test functions for Nuvol items.
$item = build_test_item $service;
Returns a Nuvol::Item for the specified service.
test_basics $item, $service;
Tests the basic structure of the item.
test_type $item, \@types;
Tests if the correct type is detected.
test_url $item, \@urls;
Tests URLs and realpaths built from IDs and paths.
Nuvol::Item, Nuvol::Test, Nuvol::Test::ItemLive.
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.