The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

health_check.pl - command line script to execute tests and send an e-mail in case of failures

SYNOPSIS

    health_check.pl [options]

    Options:

      -a: application name being tested (will be included in the e-mail subject). Required.
      -d: directory containing the test files. Required.
      -t: e-mail address to send the report in case of failures. Required.
      -f: e-mail address of the sender. Required.
      -s: SMTP server hostname. Optional, defaults to localhost.
      -h: this help message

DESCRIPTION

This script will execute all tests inside the directory specificed by the -d parameter. Assuming that all the tests are working properly, it will check the results of the tests after execution.

If any failure is detected, an HTML report will be created and send by e-mail.

REQUIREMENTS

Tests must procude TAP output. See Test::Harness.

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

This file is part of Test-Health distribution.

Test-Health is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Test-Health is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Test-Health. If not, see <http://www.gnu.org/licenses/>.