Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

RFC Using Test-Point Callbacks for Automated Diagnostics in Testing

by ait (Friar)
on Jan 04, 2011 at 19:06 UTC ( #880440=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
Node Status?
node history
Node Type: perlmeditation [id://880440]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-08-29 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (287 votes), past polls