List Info

Thread: Comment on Encryption::Crypt_DES




Comment on Encryption::Crypt_DES
user name
2007-05-09 10:37:06
Jan Schneider wrote:
> Jan Schneider (http://pear.php.net/u
ser/yunosh) has commented on the proposal for
Encryption::Crypt_DES.
>
> Comment:
>
> Very nice code. And I don't agree with David regarding
the mcrypt
> integration, but that's nit picking anyway. Giving the
user the option to
> choose the encryption engine doesn't hurt anyone.
>
> You should add a few unit tests to the package before
calling for votes,
> should be easy enough.
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?

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


Re: Comment on Encryption::Crypt_DES
user name
2007-05-09 11:02:50
On 5/9/07, Terra Frost <terrafrostphp.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/appe
ndixes.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
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )