Re: Re: [PEPr] Comment on Encryption::Crypt_DES
| From: | Chuck Burgess | Date: | Wed, 09 May 2007 16:02:50 +0000 |
| Subject: | Re: Re: [PEPr] Comment on Encryption::Crypt_DES | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46683@lists.php.net to get a copy of this message | ||
On 5/9/07, Terra Frost <terrafrost@php.net> wrote:
I installed PHPUnit but am unsure of how to run it under Windows. The instructions (1) say to type "phpunit" at the command line. That doesn't work for me. There's no *.cmd, *.bat, *.exe, or whatever, in any of the paths. (1) http://www.phpunit.de/pocket_guide/3.0/en/textui.html Any ideas?Terra, what PHP version are you running? I've found in my "travels" that PHPUnit 2.x+ should put a bat file in your pear directory, but 1.x will not... and you can only use 1.x with PHP4. If you're on 4, you need this part in the pocket guide: http://www.phpunit.de/pocket_guide/3.0/en/appendixes.phpunit1.html I've just recently begun adding PHPUnit testing to PhpDocumentor, if you'd like to see a small-at-this-point layout that has tests you can run via phpunit.bat as well as "pear run-tests -r AllTests.php PhpDocumentor". Granted, I'm running PHPUnit 3.x on PHP5. CRB