Re: Re: Unit test standard
| From: | Sebastian Bergmann | Date: | Mon, 07 Jun 2004 05:04:59 +0000 |
| Subject: | Re: Re: Unit test standard | ||
| References: | 1 2 3 4 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-1402@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
> All I miss is documentation and PHP4 support.
There is no real need for documentation for PHPUnit2. Just grab any
JUnit tutorial you like and prepend the class names with
PHPUnit2_Framework, for instance (did I mention that I miss package /
namespace support in PHP 5?).
Once PHPUnit 2.0.0 is out, though, I plan on "porting" a tutorial from
JUnit / Java to PHPUnit2 / PHP.
> PHPUnit2 does have mock object support, but doesn't work in PHP4
PHPUnit2 will have MockObjects support (based on the JMock API), but I
have not started working on this yet.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/