For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > January 2007 > running tests on pear packages on windows?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author running tests on pear packages on windows?
Terra Frost

2007-01-06, 7:07 pm

<http://qa.php.net/running-tests.php> describes how to run test cases on
PHP. How might one go about running *.phpt test cases on PEAR packages
in Windows?
Gregory Beaver

2007-01-06, 7:07 pm

Terra Frost wrote:
> <http://qa.php.net/running-tests.php> describes how to run test cases on
> PHP. How might one go about running *.phpt test cases on PEAR packages
> in Windows?


Hi,

On both windows and unix, the correct approach is not to use the
procedure you found above.

Instead, simply change to the tests directory and run:

pear run-tests -rq

If you wish to run tests of a particular package

pear run-tests -rqp PackageName

Greg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com