NAME

Code::Style::Kit::Parts::Test2 - commonly used test modules (Test2 style)

VERSION

version 1.0.2

SYNOPSIS

  package My::Kit;
  use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Test2);
  1;

Then:

  use My::Kit 'test';

  # write your test

DESCRIPTION

This part defines the test feature, which imports Test2::V0, adds t/lib to @INC, and sets up Log::Any::Adapter::TAP.

Any argument given to the test feature will be passed to Test2::V0:

  use My::Kit test => [ -srand => 0, -target => 'My::Class' ];

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by BroadBean UK, a CareerBuilder Company.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.