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  -  MOOSE::TEST (3)

.ds Aq ’

NAME

Moose::Test - A Test Runner for the Moose test suite

CONTENTS

SYNOPSIS



    # t/001-attr--nohook.t -- test bare class
    use Test::More tests => 1;
    use Moose::Test::Case;
    Moose::Test::Case->new->run_tests;

    # t/001-attr--immutable.t -- munge class before tests run
    use Test::More tests => 1;
    use Moose::Test::Case;
    Moose::Test::Case->new->run_tests(
        after_last_pm => sub {
            Class->meta->make_immutable;
        },
    )

    # t/001-attr/Class.pm
    package Class;
    use Moose;
    has name => (isa => Str);

    # t/001-attr/string.t
    my $obj = Class->new(name => "Lloyd");
    ok($obj, "Constructor works when validating a string");



DESCRIPTION

This module provides an abstraction over the Moose test cases such that it makes it easier for them to be re-used in different contexts.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Stevan Little <stevan.little@iinteractive.com>

Shawn M Moore <sartak@bestpractical.com>

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

Copyright 2008 Infinity Interactive, Inc.

<http://www.iinteractive.com>

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

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


perl v5.20.3 MOOSE::TEST (3) 2008-10-02

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