NAME

Test::Attribute::AutoLevel - auto set $Test::Builder::Level

SYNOPSIS

use Test::More;
use Test::Attribute::AutoLevel;

sub test_foo : AutoLevel {
    fail 'always failed.';
}
test_foo(); # test failed. report line at call test_foo().

DESCRIPTION

Test::Attribute::AutoLevel is auto set $Test::Builder::Level.

AUTHOR

Atsushi Kobayashi <nekokak _at_ gmail _dot_ com>

CONTRIBUTORS

kamipo

xaicron

LICENSE

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