Re: PHPUnit assertException
| From: | Sebastian Bergmann | Date: | Tue, 01 Aug 2006 19:03:53 +0000 |
| Subject: | Re: PHPUnit assertException | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24811@lists.php.net to get a copy of this message | ||
Bertrand Mansion wrote:
> I couldn't find a reference to something like assertException in
> PHPUnit2, does anybody know if tha's available or if there is a
> workaround ?
Hello Bertrand,
you are looking for PHPUnit2_Extensions_ExcpetionTestCase, which is
documented here
http://www.phpunit.de/pocket_guide/3.0/en/testing-exceptions-and-performance-regressions.html
Also note that questions related to PHPUnit should be asked on its own
mailinglists
http://www.phpunit.de/wiki/Mailinglists
HTH,
Sebastian
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69