New assert method in PHPUnit
| From: | Pawel Marzec | Date: | Tue, 23 Nov 2004 11:57:22 +0000 |
| Subject: | New assert method in PHPUnit | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15766@lists.php.net to get a copy of this message | ||
Hi,
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.
Sincerely,
Pawel Marzec