http://www.pobox.com/~schwern/src/Test-AtRuntime-0.02.tar.gz
or a CPAN near you.

Still a few small bugs and missing features, but the important things work.
See the TODO and CAVEATS for details.  Now works with 5.6.0!


NAME
       Test::AtRuntime - Put tests in your code and run them as
       your program runs

SYNOPSIS
         use Test::AtRuntime 'logfile';
         use Test::More;

         sub foo {
             # This test runs.
             TEST { pass('foo ran'); }
         }

         no Test::AtRuntime;

         sub bar {
             # This test is not run.
             TEST { pass('bar ran') }
         }

         foo();
         bar();


-- 
Here's hoping you don't harbor a death wish!

Reply via email to