NAME
Test::Declare - declarative testing
SYNOPSIS
use strict;
use warnings;
use Test::Declare;
plan tests => blocks;
describe 'foo bar test' => run {
init {
# init..
};
test 'foo is bar?' => run {
is foo, bar;
};
cleanup {
# cleanup..
};
};
DESCRIPTION
Test::More, Test::Exception, Test::Deep, Test::Warn and Test::Output wrapper module.
METHOD
describe outline setting.
blocks get test block count.
init definition of init block.
test definition of test block.
run run test code.
cleanup definition of cleanup block.
BUGS AND LIMITATIONS
No bugs have been reported.
SEE ALSO
This test module's core modules
Test::More and Test::Exception and Test::Deep and PPI
Test::Declare's sample tests
DBIx::Class::TableNames 's 01_table_names.t
DBIx::Class::ProxyTable 's 01_proxy.t
AUTHORS
Atsushi Kobayashi <nekokak __at__ gmail.com>
tokuhirom
LICENCE AND COPYRIGHT
Copyright (c) 2008, Atsushi Kobayashi <nekokak __at__ gmail.com>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.