April 14, 2012 82% of Perl Testing Back

TODO blocks

         TODO: {
             local $TODO = $why;
             ok( foo(),       $test_name );
             is( foo(42), 23, $test_name );
         };
         TODO: {
             local $TODO = "Don't yet understand relativity"; 
             is( $E, $m * $c**2, "Relativity understood" );
         };


Home Last TOC Copyright © 2012 James E Keenan Back Next