Re: New assert method in PHPUnit

From: Date: Tue, 23 Nov 2004 12:17:30 +0000
Subject: Re: New assert method in PHPUnit
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15768@lists.php.net to get a copy of this message
> I have just started with Unit Tests and I need a method like > assertNotError($object) that would test PEAR:isError($object) and print > message if error occurs. I have added it for my own use. > Is there such a method? (I have not found it.) Would it make sense to > add it to PHPUnit? If not, please, explain why. Why not: assertTrue(PEAR:isError($object)) ? -- Massimiliano Arione :: http://www.garak.it/ :: ** NO WORD http://www.gnu.org/philosophy/no-word-attachments.html ** ** NO HTML http://www.efn.no/html-bad.html **

« previous php.pear.general (#15768) next »