Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RFC: Tutorial "Introspecting your Moose code using Test Point Callbacks"

by ait (Hermit)
on Jan 01, 2011 at 18:16 UTC ( [id://880012]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package test_class;
    
    ...
    
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    done_testing();
    
  3. or download this
    aimass@yclt2:~/languages/perl/MooseTest$ prove -v test_class.t
    test_class.t .. 
    ...
    All tests successful.
    Files=1, Tests=5,  0 wallclock secs ( 0.05 usr  0.00 sys +  0.37 cusr 
    + 0.02 csys =  0.44 CPU)
    Result: PASS
    
  4. or download this
    package cond_tp;
    
    ...
    __PACKAGE__->meta->make_immutable;
    1;
    
  5. or download this
    #!/usr/bin/perl                                   
    
    ...
    
    done_testing();
    
  6. or download this
    aimass@yclt2:~/languages/perl/MooseMeta$ export MYDEBUG_LEVEL=5
    aimass@yclt2:~/languages/perl/MooseMeta$ prove -v cond_tp.t
    ...
    Files=1, Tests=2,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.39 cusr 
    + 0.02 csys =  0.45 CPU)
    Result: PASS
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://880012]
Approved by Old_Gray_Bear
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found