NAME

Test::Smoke::Fact::Build - The build environment for a Test::Smoke report

SYNOPSIS

  my $fact = Test::Smoke::Fact::Build->new (
      resource => "http://perl5.git.perl.org/perl.git/8c576062",
      content  => {
          TEST_JOBS     => $ENV{TEST_JOBS},
          LC_ALL        => $ENV{LC_ALL},
          LANG          => $ENV{LANG},
          manifest_msgs => "...",
          compiler_msgs => "...",
          skipped_tests => "-",
          harness_only  => 0,
          summary       => "F",
	  },
      );

DESCRIPTION

This fact describes the environment variables that were set when the smoke run started that could possibly influence the run.

Not all are relevant, as Test::Smoke itself will set/reset the ones it knows to be relevant.

It optionally stores any messages from MANIFEST checks, the compiler messages - if any - that were issued during the build process, the tests that were skipped and a summary for this build.

manifest_msgs

If this build gave any MANIFEST related messages during initialization or cleanup, they will be kept in this property.

compiler_msgs

If this build gave any compiler related messages during the build, they will be kept in this property.

skipped_tests

If this run skipped any tests - for whatever reason - they will be kept here.

harness_only

This item optionally indicates if the smoke ran harness_only.

summary

This item holds the summary of this build. If the build was successful and tests were actually run, it will be the worst summary of any of the tests ran. Otherwise it will reflect the reason why the build did not succeed, or tests could not start. See Test::Smoke for the possible values.

BUGS

SEE ALSO

Test::Smoke, Test::Smoke::Metabase, Metabase::Fact. Metabase::Fact::Hash.

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.