GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::DECLARE (3)

.ds Aq ’

NAME

Test::Declare - declarative testing

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::DECLARE (3) 2009-08-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.