Help for this page

Select Code to Download


  1. or download this
    package My::TestCase;
    use base qw(Test::Unit::TestCase);
    ...
    sub tear_down {
        warn "after all tests\n";
    }
    
  2. or download this
    package My::Test;
    use base qw( Test::Class );
    ...
    sub after :Test( shutdown ) {
        warn "after all tests\n";
    };