pear run-tests phpUnit question
| From: | till | Date: | Fri, 18 Jan 2008 15:22:12 +0000 |
| Subject: | pear run-tests phpUnit question | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-48954@lists.php.net to get a copy of this message | ||
Hi list,
I've been trying to run the tests for Console_GetoptPlus today and I
couldn't figure out at first why "pear run-tests ..." didn't do
anything. Now Chuck told me to add the "-up" argument to "pear
run-tests ..." to make it use phpunit and so on and this all got me/us
curious if it would be useful if package listed phpUnit as an optional
dependency in package.xml when they make use of it. I'm also curious
if my PEAR (1.7.0RC1) is broken because it did not add this by itself,
or if the tests a broken or if it's supposed supposed to be like that.
Of course running tests is not a die-hard requirement for many but I
was trying to come up with a solution how we could use the existing
format of package.xml to make it do what I want. ;-)
Just food for thoughts.
Regards,
Till