phpunit tests...

From: Date: Wed, 28 May 2008 14:00:52 +0000
Subject: phpunit tests...
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50182@lists.php.net to get a copy of this message
Hi! I read somewhere in the documentation (but I cannot find where...) that a package must include phpt or phpunit tests before being released as stable. For phpt tests, there is no problems, since it's part of PEAR itself. But if I use phpunit tests, how should it works? Should I use the latest phpunit package on PEAR, or the up-to-date version on http://pear.phpunit.de/ ? In the PEAR documentation, as I understand, it refers to the old way of writing phpunit tests, with a script that runs the tests, while it seems that now, I only need to write a test class and to run the phpunit command. Is it really that, or is there special cares I must take to conform to PEAR? Thank you, Charles Brunet.

« previous php.pear.dev (#50182) next »