The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

    use Nuvol::Test::FolderLive ':all';
    use Nuvol::Test::FolderLive ':build';    # build_test_folder

    my $folder = build_test_folder $service;

    test_basics;
    test_cd;

DESCRIPTION

Nuvol::Test::Connector provides live test functions for Nuvol folders.

The tests are skipped if the environment variables for the different services are not set or don't point to an existing folder. The variable names are NUVOL_DUMMY_LIVE, NUVOL_OFFICE365_LIVE.

See ConnectorLive for instructions how to activate live tests.

FUNCTIONS

build_test_folder

    $folder = build_test_folder $service;

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

test_basics

    test_basics $folder, $service;

Tests the basic functionality of the folder.

test_cd

    test_crud $folder, $service;

Tries to create and delete a folder.

SEE ALSO

Nuvol::Folder, Nuvol::Test, Nuvol::Test::Folder.