Re: PHPT ===DONE===

From: Date: Sat, 12 May 2007 21:34:55 +0000
Subject: Re: PHPT ===DONE===
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27278@lists.php.net to get a copy of this message
Carsten Wiedmann wrote: >> --RETURNS-- is used to test the return value for scripts that are used >> in shell scripts. > > That's also a good idea. But why want you have this feature only on > Windows? ???? It works on all OSes. > There are also some other problems. Let me remmeber: > - ENV and COOKIE and test whitch require the cgi-binary are not working > with PHP4 > - RETURNS does not work with all PHP binarys (depends on the configure > options) and OS > - POST_RAW does not allow a real raw http message, according to the rfc > - does not work correct on Win9x Win9x is not supported by PHP and I do not have a working Win9x box, the last one died over 3 years ago. > - does not work with spaces in pathnames > - does not work if the phpt files uses "\r" for lineendings > - does not work if you use the cgi binary for pear. > - the second parameter from run() can only be used for the PhpUnit test > - tap output is not correct > - wrong test summary if you use top output > (I hope, I have not forgotten one...) If these are true, then it is your responsibility to open bugs. This is open source and I cannot use my considerable powers of ESP to divine al possible bugs, only most of them ;). Seriuosly though, I have had absolutely no trouble running unit tests on windows, OS X, freebsd and linux. I personally use the --cgi option on windows and linux regularly. Additionally, the code is a direct port of the code in php-src/runtests.php - don't you think that someone would have noticed before if the code was broken for any other test environments? Perhaps your system is unique. TAP output is valid, I don't know what you're talking about. Frankly your list is frustrating because none of the claims are substantiated with a test, and there isn't a single open bug for any of these issues. Please put the proof out for all to see and I will take these claims more seriously. > So in the current form, I don't think you can recommend this test [1]. Au contraire. It is an extremely battle-tested, robust testing format responsible for oodles of great testing over the past several years. > Another question: > Why is the value for the doc block tag "@category" "pear" (in all PEAR > files)? If I read this [2] correct, it should be "PEAR", or not? phpDocumentor lower-cases this value in the only converter that needs it, the XML:DocBook/peardoc2 converter Greg

« previous php.pear.general (#27278) next »