On Sunday, October 6, 2002, at 07:06  pm, Kate L Pugh wrote:
>> I wanted a test that's like use_ok, but which fails if any warnings
>> [...] come up during the 'use'.  But I only wanted it

On Thu 10 Oct 2002, Adrian Howard <[EMAIL PROTECTED]> wrote:
> If you can live with two tests (one for the successful use, one for 
> whether it caused warnings or not) you can use Test::Warn to produce 
> something quite readable.

Excellent, thanks, that's exactly what I wanted.  And it even catches
failure to return true, which my thing didn't.

Kake
-- 
http://www.earth.li/~kake/cookery/ - vegan recipes, now with new search feature
http://grault.net/grubstreet/ - the open-source guide to London
http://www.penseroso.com/ - websites for the fine art and antique trade

Reply via email to