NAME
Nuvol::Test::Item - Test functions for Nuvol items
SYNOPSIS
my
$item
= build_test_item
$service
;
test_basics;
test_type;
test_url;
DESCRIPTION
Nuvol::Test::Item provides test functions for Nuvol items.
FUNCTIONS
build_test_item
$item
= build_test_item
$service
;
Returns a Nuvol::Item for the specified service.
test_basics
test_basics
$item
,
$service
;
Tests the basic structure of the item.
test_type
test_type
$item
, \
@types
;
Tests if the correct type is detected.
test_url
test_url
$item
, \
@urls
;
Tests URLs and realpaths built from IDs and paths.