Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 2;
    
    ...
    }
    
    is(1,1,'Outside') and diag 'Out';
    
  2. or download this
    $ prove -lrv foo.t
    foo.t .. 
    ...
      TODO passed:   1
    Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.01 cusr 
    + 0.00 csys =  0.03 CPU)
    Result: PASS
    
  3. or download this
    $ prove -lr foo.t
    foo.t .. 1/2 # Out
    ...
      TODO passed:   1
    Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.02 cusr 
    + 0.00 csys =  0.04 CPU)
    Result: PASS
    
  4. or download this
    use Test::More tests => 3;
    
    ...
    }
    
    is(1,1,'Back Outside') and diag 'Out Again';
    
  5. or download this
    $ prove -lr foo.t
    foo.t .. 1/3 # Out
    # Out Again
    foo.t .. ok   
    All tests successful.
    
  6. or download this
    $ prove -lrv foo.t
    foo.t .. 
    ...
    # Out Again
    ok
    All tests successful.