NAME

Nuvol::Test::ConnectorLive - Live test functions for Nuvol files

SYNOPSIS

    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;

DESCRIPTION

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.

See ConnectorLive for instructions how to activate live tests.

FUNCTIONS

build_test_file

    $file = build_test_file $service;

Returns a Nuvol::File for the specified service, using the config file defined in the environment variable.

test_basics

    test_basics $file, $service;

Tests the basic functionality of the file.

test_copy

    test_copy $file, $service;

Tests copying, up- and downloading.

test_crud

    test_crud $file, $service;

Tries to create, read, update, and delete a file.

SEE ALSO

Nuvol::File, Nuvol::Test, Nuvol::Test::File.