NAME
Test::Approvals::Reporters::AndReporter - Report with multiple reporters
VERSION
This documentation refers to Test::Approvals::Reporters::AndReporter version v0.0.4_3
SYNOPSIS
use Test::Approvals::Reporters;
my $left = Test::Approvals::Reporters::FileLauncherReporter->new();
my $right = Test::Approvals::Reporters::DiffReporter->new();
my $and = Test::Approvals::Reporters::AndReporter->new(
reporters => [ $left, $right ]
);
$and->report( 'r.txt', 'a.txt' );
DESCRIPTION
This module is a MultiReporter configured to execute every reporter passed into the constructor.
SUBROUTINES/METHODS
report
$and->report( 'r.txt', 'a.txt' );
Each reporter passed to the constructor in the reporters argument will be called by report with the arguments provided to report.
DIAGNOSTICS
None at this time.
CONFIGURATION AND ENVIRONMENT
None
DEPENDENCIES
Moose version
INCOMPATIBILITIES
None known.
BUGS AND LIMITATIONS
Windows-only. Linux/OSX/other support will be added when time and access to those platforms permit.
AUTHOR
Jim Counts - @jamesrcounts
LICENSE AND COPYRIGHT
Copyright (C) 2013 Jim Counts
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
L<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.