Re: Re: QA enhancements in PEAR 1.4
| From: | Klaus Guenther | Date: | Sat, 26 Mar 2005 18:27:26 +0000 |
| Subject: | Re: Re: QA enhancements in PEAR 1.4 | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2638@lists.php.net to get a copy of this message | ||
On 3/26/2005 7:01 PM, Lukas Smith spake the following words:
> Greg Beaver wrote:
>
>> I just wanted to let all you QA types know that PEAR 1.4.0a9 includes
>> a new option to the run-tests command that allows the running of all
>> installed .phpt tests in a package with
>>
>> pear run-tests -p Packagename.
>>
>> For instance, you can pear run-tests -p XML_Parser. If your system
>> is like mine, all of the tests will fail :), but it will locate and
>> run them.
>>
>> This will be invaluable for testing the first stable release of a
>> package that provides unit tests.
>
> btw: i never spend any time on this, but maybe someone knows:
> how hard would it be for me to also be able to run my phpunit tests
> this way? .. i have a clitest.php to be able to run the tests form the
> shell.
Theoretically it should be easy. All that needs to be required is a
special shell script that would be looked for in the absence of phpt
tests. We'll have to figure out how we can do this :) Do you have an
idea, Greg?
Klaus