http://qs1969.pair.com?node_id=627432


in reply to Re^2: Test Technique: Self-removing test data
in thread Test Technique: Self-removing test data

Test::Class catches exceptions that happen in any of your test methods (including startup, shutdown, setup, and teardown methods) and registers the tests as failed.

It's conceivable that you could die from outside of your test methods and that would prevent your cleanup from happening, but it would also probably mean that your setup didn't happen either.

Test::Class is by no means perfect, but it deserves a little more credit than you give it.

  • Comment on Re^3: Test Technique: Self-removing test data