Nuvol::Test::ConnectorLive - Live test functions for Nuvol files
use Nuvol::Test::FileLive ':all'; use Nuvol::Test::FileLive ':build'; # build_test_file my $file = build_test_file $service; test_basics; test_crud; test_copy;
Nuvol::Test::Connector provides live test functions for Nuvol files.
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.
NUVOL_DUMMY_LIVE
NUVOL_OFFICE365_LIVE
See ConnectorLive for instructions how to activate live tests.
$file = build_test_file $service;
Returns a Nuvol::File for the specified service, using the config file defined in the environment variable.
test_basics $file, $service;
Tests the basic functionality of the file.
test_copy $file, $service;
Tests copying, up- and downloading.
test_crud $file, $service;
Tries to create, read, update, and delete a file.
Nuvol::File, Nuvol::Test, Nuvol::Test::File.
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.