NAME
Nuvol::Test::ConnectorLive - Live test functions for Nuvol items
SYNOPSIS
use Nuvol::Test::ItemLive ':all';
use Nuvol::Test::ItemLive ':build'; # build_test_item
my $item = build_test_drive $service;
test_basics;
DESCRIPTION
Nuvol::Test::Connector provides live test functions for Nuvol items.
The tests are skipped if the environment variables for the different services are not set or don't point to an existing file. The variable names are NUVOL_DUMMY_LIVE
, NUVOL_OFFICE365_LIVE
.
See ConnectorLive for instructions how to activate live tests.
FUNCTIONS
build_test_item
$item = build_test_item $service;
$item = build_test_item $service, $path; # default '/'
Returns a Nuvol::Item for the specified service, using the config file defined in the environment variable. If no path is provided, the test item will be the root folder.
test_basics
test_basics $item, $service;
Tests the basic functionality of the item.