Test::Clustericious::Log - Clustericious logging in tests.
version 0.15
use Test::Clustericious::Log; use Test::More; use MyClustericiousApp; my $app = MyClustericiousApp->new; ok $test, 'test description'; ...
This module redirects the log4perl output from a Clustericious application to TAP using Test::Builder. By default it sends DEBUG to WARN messages to note and ERROR to FATAL to diag, so you should only see error and fatal messages if you run prove -l on your test but will see debug and warn messages if you run prove -lv.
note
diag
prove -l
prove -lv
If the test fails for any reason, the entire log file will be printed out using diag when the test is complete. This is useful for CPAN testers reports.
original author: Brian Duggan
current maintainer: Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious::Log
CPAN shell
perl -MCPAN -e shell install Clustericious::Log
For more information on module installation, please visit the detailed CPAN module installation guide.