NAME
Test::Smoke::Metabase - Test::Smoke Metabase interface object
SYNOPSIS
my $report = Test::Smoke::Metabase->open (
resource => "perl:///commit/8c57606294f48eb065dff03f7ffefc1e4e2cdce4",
);
$report->add ("Test::Smoke::Fact::SmokeID" => {
smoke_date => "20100528",
perl_id => "5.12.2-RC4",
git_id => "8c576062",
applied_patches => "-",
});
$report->add ("Test::Smoke::Fact::Node" => {
hostname => "smokebox",
architecture => "pa_risc-2.0",
osname => "HP-UX",
osversion => "11.31",
cc => "cc",
ccversion => "B3910B",
user => "tux",
});
$report->add ("Test::Smoke::Fact::Build" => {
TEST_JOBS => $ENV{TEST_JOBS},
LC_ALL => $ENV{LC_ALL},
LANG => $ENV{LANG},
manifest_msgs => "...",
compiler_msgs => "...",
skipped_tests => "-",
harness_only => 0,
summary => "F",
});
$report->add ("Test::Smoke::Fact::Config" => {
arguments => "-Duse64bitall -DDEBUGGING",
parallel => 1,
});
$report->add ("Test::Smoke::Fact::Result" => {
io_env => "perlio",
output => "...",
summary => "F",
statistics => "Files=1802, Tests=349808, 228 wallcl...",
});
$report->close ();
$report->send ({
uri => "http://metabase.example.com:3000/",
id_file => "/home/tux/smoke/metabase_id.json",
});
DESCRIPTION
Metabase report class encapsulating Facts about a Test::Smoke report
This describes the interface of sending Test::Smoke reports to the CPANTESTERS-2.0 infrastructure. This interface describes what facts are stored and how they relate to a complete report.
SmokeID
This fact identify what is smoked. Together with the Node
it identifies what Fact's belong together in a complete Test::Smoke run. A more detailed description can be found in Test::Smoke::Fact::SmokeID.
Node
This fact identifies where the smoke is executed. Together with the SmokeID
it identifies what Fact's belong together in a complete Test::Smoke run. A more detailed description can be found in Test::Smoke::Fact::Node.
Build
This fast describes how a Test::Smoke is built, it holds the overall information regarding how the smoke was started and generic information about a single build attempt. A more detailed description can be found in Test::Smoke::Fact::Build.
Config
This fact describes the arguments that were used for this smoke build. For each configuration smoked in a full smoke run, this describes the configuration for the Result
's (if available). A more detailed description can be found in Test::Smoke::Fact::Config.
Result
These are the results for a finished test run. It will hold as much information as possible. Up to three Result
Facts can be found inside the Report. A more detailed description can be found in Test::Smoke::Fact::Result.
send
Will send the report using Test::Smoke::Metabase::Transport
SEE ALSO
Test::Smoke, Test::Smoke::Fact::SmokeID, Test::Smoke::Fact::Node, Test::Smoke::Fact::Build, Test::Smoke::Fact::Config, Test::Smoke::Fact::Result, Metabase::Report, Metabase::Fact.
AUTHOR
H.Merijn Brand
COPYRIGHT AND LICENSE
Copyright (c) 2010 by H.Merijn Brand
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.