Test-Exception reviews

cpanratings
 

RSS | Module Info | Add a review of Test-Exception

Test-Exception (0.31) ***

Test::Exception is very useful, but can be quite a bit more complicated than is clear. It uses Sub::Uplevel to hide its own place in the call stack, which is almost never necessary for testing, and can have bizarre side effects and interactions with "caller."

I suggest considering Test::Fatal, which has a much simpler API and implementation.

Ricardo Signes - 2011-03-10T06:03:49 (permalink)

9 out of 9 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.24) *****

A "Must" module if you use die or carp in your code. This test module will be of great help, no more playing with eval.

I only wished 4 of the 6 provided functions would be removed from the API. lives_ok, IMHO, makes little sense and dies_ok is plain wrong. it's
easy to make a mistake and have a test pass a dies_ok while the real error is not the one documented in the message. I'd recommend to _not_ use dies_ok but to only use the superior throws_ok.

نديم الخمير - 2007-01-30T09:11:29 (permalink)

6 out of 9 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.21) *****

Well-documented testing extension which provides a means of testing code/methods that intentionally die, without resorting to 'eval'.

Lee Goddard - 2006-08-15T06:31:48 (permalink)

7 out of 8 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.21) ****

My previous complaints aboout the interface have been addressed by a documentation change in the last release. Author is very responsive and helpful.

Perrin Harkins - 2005-07-21T13:24:52 (permalink)

8 out of 10 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.21)

Just a quick comment that you can use Test::Exception without prototypes if you so wish, and since 0.21 this is documented in the POD.

Adrian Howard - 2005-07-21T10:00:08 (permalink)

6 out of 6 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.20) *****

This module is just about a "must have" addition for testing if your code ever intentionally dies/croaks/throws on errors. It ought to be part of the core testing suite distributed with perl.

David Golden - 2004-09-27T09:51:32 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.15) *****

Very nice, very strightforward way of testing your exceptions. I highly recommend it.

Stevan Little - 2004-07-20T09:41:16 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

Test-Exception (0.15) *****

A wonderful addition to the Test::* collection. It can be tough to test failure, and without a module like Test::Exception, I might be tempted to not bother testing those failures. Test::Exception makes a breeze.

Andy Lester - 2003-10-22T07:55:26 (permalink)

4 out of 5 found this review helpful. Was this review helpful to you?  Yes No
1 hidden unhelpful review