Test::AutoBuild::Runtime 1.2.0 review

Download
by rbytes.net on

Test::AutoBuild::Runtime is a Perl module with builder runtime state. SYNOPSIS use Test::AutoBuild::Runtime; my $runtime

License: Perl Artistic License
File size: 200K
Developer: Daniel P. Berrange
0 stars award from rbytes.net

Test::AutoBuild::Runtime is a Perl module with builder runtime state.

SYNOPSIS

use Test::AutoBuild::Runtime;

my $runtime = new Test::AutoBuild::Runtime (archive_manager => $archive_manager,
monitors => %monitors,
repositories => %repositories,
modules => %modules,
package_types => %package_types,
publishers => %publishers,
groups => %groups,
platforms => %platforms,
source_root => $dir,
install_root => $dir,
package_root => $dir,
log_root => $dir,
counter => $counter);

my $archive = $runtime->archive;

my @monitor_names = $runtime->monitors;
my @repository_names = $runtime->repositories;
my @module_names = $runtime->modules;
my @package_types_names = $runtime->package_types;
my @publisher_names = $runtime->publishers;
my @group_names = $runtime->groups;
my @platform_names = $runtime->platforms;

my $monitor = $runtime->monitor($name);
my $repository = $runtime->repository($name);
my $module = $runtime->module($name);
my $package_type = $runtime->package_type($name);
my $publisher = $runtime->publisher($name);
my $group = $runtime->group($name);
my $platform = $runtime->platform($name);

$runtime->attribute($key, $value);
my $value = $runtime->attribute($key);
my %attributes = $runtime->attributes()

my $dir = $runtime->source_root();
my $dir = $runtime->install_root();
my $dir = $runtime->package_root();
my $dir = $runtime->log_root();

This module provides access to the core objects comprising the build engine, including monitors, repositories, modules, package types, publishers and groups. The runtime state object is made available to the run method of stages in the build engine.

Requirements:
Perl

Test::AutoBuild::Runtime 1.2.0 keywords