Log::Shiras::Report::Test2Diag - Log::Shiras Test2 diag output
use Test2::Bundle::Extended qw( !meta ); use Test2::Plugin::UTF8; plan( ? ); use Log::Shiras::Report::Test2Diag; use Log::Shiras::Switchboard; my( $switchboard, $test_class ); ok( lives{ my $switchboard = Log::Shiras::Switchboard->get_operator( name_space_bounds =>{ UNBLOCK =>{ log_file => 'warn', }, }, reports =>{ log_file =>[ Log::Shiras::Report::Test2Diag->new ], #Raise visibility to the actions being tested },) }, "Start the switchboard");
This is a simple Report class that can be used to provide troubleshooting output to Test2 tests with Log::Shiras content. The goal is for the messages to integrate with the TAP format.
None
Definition: This creates a new instance of the Test2Note report class.
Returns: A report class to be stored in the switchboard.
Definition: This only accepts a switchboard scrubbed message ref.
Returns: 1 (or dies)
Log-Shiras/issues
1. Nothing currently
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
version
Data::Dumper
Test2::Tools::Basic
To install Log::Shiras, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Shiras
CPAN shell
perl -MCPAN -e shell install Log::Shiras
For more information on module installation, please visit the detailed CPAN module installation guide.