package Test::Routine::Common; { $Test::Routine::Common::VERSION = '0.015'; } use Moose::Role; # ABSTRACT: a role composed by all Test::Routine roles use Test::More (); use namespace::autoclean; sub run_test { my ($self, $test) = @_; my $name = $test->name; Test::More::subtest($test->description, sub { $self->$name }); } 1; __END__ =pod =head1 NAME Test::Routine::Common - a role composed by all Test::Routine roles =head1 VERSION version 0.015 =head1 OVERVIEW Test::Routine::Common provides the C method described in L. =head1 AUTHOR Ricardo Signes =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2010 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut