NAME
Data::AnyXfer::Test::Kit - a test kit for Data::AnyXfer
SYNOPSIS
use Data::AnyXfer::Test::Kit;
...
Usage with Test::Aggregate::Nested
use Data::AnyXfer::Test::Kit;
use Test::Aggregate::Nested;
subtest 'nested tests' => sub {
my @dirs = qw/st/;
my $tests = Test::Aggregate::Nested->new( {
dirs => \@dirs,
verbose => $ENV{TEST_VERBOSE} ? 2 : 1,
} )->run;
};
done_testing;
As a result of Data::AnyXfer::Test::Kit
using Test::Warnings
, an extra test is always run. Test::Aggregate::Nested
creates it's own test plan, excluding the extra test, and subsequently fails. It is therefore necessary to define the test plan.
DESCRIPTION
This module provides a Test::Kit for Foxtons modules.
Use this in place of Test::Most. It also includes the following:
- Data::Printer
- Data::Dumper::Concise
-
Note: an alternative to
Dumper
is theexplain
function from Test::More. - File::Slurp
- Path::Class
- Sys::Hostname
- Test::LongString
- Test::Warnings
- Data::AnyXfer
COPYRIGHT
This software is copyright (c) 2019, Anthony Lucas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.