NAME
TheEye - TheEye is a TAP based monitoring system
VERSION
version 0.5
SYNOPSIS
This is a short test snippet. look at the /bin directory for soem more ideas. howeveer, you can also simply use the scripts in bin and not play with the liraries at all.
use TheEye;
use Data::Dumper;
my $mon = TheEye->new(debug=> 1, test_dir => 't');
$mon->load_plugin('Store::RRD');
$mon->rrd_dir('rrds/');
my $results;
@{$results} = $mon->run();
$mon->save($results);
print Dumper($results);
FUNCTIONS
run
The run function runs the tests in the test directory (and all directories under it recusively) and returns an array of test results (each TAP line is one test result array field). These resuts contain some meta data as eg. the time it took to run the test.
comments in TAP output are written into the reponse hash of the according test - not as a separate hash.
save
This is only a knob to override with plugins. the default does not save anything. use eg. the RRD plugin or write your own.
graph
This is only a knob to override with plugins. the default does not draw anything. use eg. the RRD plugin or write your own.
notify
This is the most basic version - we notify to STDERR and hope that someone picks it up. this is really only a more advanced override knob.
load_plugin
This loads a plugin from the TheEye::Plugin namespace
AUTHOR
Lenz Gschwendtner, <norbu09 at cpan.org>
BUGS
Please report any bugs or feature requests to bug-theeye at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TheEye. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc TheEye
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2010 Lenz Gschwendtner.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
AUTHOR
Lenz Gschwendtner <lenz@springtimesoft.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by springtimesoft LTD.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.