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 connectors

SYNOPSIS

use Nuvol::Test::ConnectorLive ':all';
use Nuvol::Test::ConnectorLive ':build';    # build_test_connector

my $connector = build_test_connector $service;

test_basics;
test_drivelist;

DESCRIPTION

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

FUNCTIONS

build_test_connector

$connector = build_test_connector $service;

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

test_basics

test_basics $connector, $service;

Tests the basic functionality of the connector, like updating the access token.

test_drivelist

test_drivelist $connector;

Performs tests with "update_drives" in Nuvol::Connector, "drives" in Nuvol::Connector, and "drive" in Nuvol::Connector.

SEE ALSO

Nuvol::Connector, Nuvol::Test, Nuvol::Test::Connector.