panna: (Default)
panna ([personal profile] panna) wrote in [site community profile] dw_dev2010-07-28 09:24 am
Entry tags:

Testing exceptions

Hi:) I'm a one working on a calendar functionality for Dreamwidth:)

I'd like to ask what to use to test if my code threw exception. I found that this could be tested by Test::Exeption library's commands, but there is no Test/Exception.pm library in Dreamwidth's CPAN.

I found that Dw do use exceptions, but maybe there is preferred to return a specific code? (I prefer throwing exceptions...:P)

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org