|
NAMETest::Declare - declarative testingSYNOPSISuse 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.. }; }; DESCRIPTIONTest::More, Test::Exception, Test::Deep, Test::Warn and Test::Output wrapper module.METHODdescribe 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 LIMITATIONSNo bugs have been reported.SEE ALSOThis test module's core modulesTest::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 AUTHORSAtsushi Kobayashi "<nekokak __at__ gmail.com>"tokuhirom LICENCE AND COPYRIGHTCopyright (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.
Visit the GSP FreeBSD Man Page Interface. |