I just saw an awesome idea in github:
https://github.com/Hyra/PHPUnit-Cake2

If I was him I would make a it a os independent cake2 shell though..
"cake PhpUnit install" (or even upgrade one day)
would be a self installing shell then.



On 25 Okt., 18:45, andrewperk <[email protected]> wrote:
> Thanks everyone.
>
> Mark figured it out, it was the include_path.
>
> I noticed that my pear and phpunit was installed under:
>
> /usr/share/php/PHPUnit
> /usr/share/php/PEAR
>
> But my include path does not include this location. My include path is
> looking for things under:
>
> /opt/lampp/lib/php
>
> I just edited my php.ini include_path to also include the /usr/share/
> php directory and it works!
>
> Thanks again.
>
> Andrew
>
> On Oct 25, 9:10 am, mark_story <[email protected]> wrote:
>
>
>
>
>
>
>
> > I would check that php's include_path includes the path that PHPUnit
> > was installed into.
>
> > -Mark
>
> > On Oct 24, 4:23 pm, andrewperk <[email protected]> wrote:
>
> > > Hello,
>
> > > I have PHPUnit 3.5.15 installed on Linux, PHP 5.3.5, it was installed
> > > using the pear installer per the directions in the cake 2.0 book.
>
> > > When I browse to localhost/myapp/test.php, cake tells me PHPUnit is
> > > not installed. It tells me to run some commands to install it. So I
> > > tried running those commands and each time I do, it says they are
> > > already installed.
>
> > > Does anyone know how to get cake to recognize phpunit?  Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to