Test::Declare - declarative testing
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.. }; };
Test::More, Test::Exception, Test::Deep, Test::Warn and Test::Output wrapper module.
No bugs have been reported.
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
Atsushi Kobayashi <nekokak __at__ gmail.com>
<nekokak __at__ gmail.com>
tokuhirom
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.
To install Test::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Declare
CPAN shell
perl -MCPAN -e shell install Test::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.