Download Source Package libtest-exception-perl:
Test::Exception provides a few convenience methods for testing exception based code. It is built with Test::Builder and plays happily with Test::More and friends.
If you are not already familiar with Test::More now would be the time to go take a look.
You can specify the test plan when you use Test::Exception in the same way as use Test::More. See Test::More for details.
NOTE: Test::Exception only checks for exceptions. It will ignore other methods of stopping program execution - including exit(). If you have an exit() in evalled code Test::Exception will not catch this with any of its testing functions.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| all | 17.2 kB | 76 kB | [list of files] |