Download all repositories and update include_path as said in the section
"Using PHPUnit From a Git Checkout" in
https://github.com/sebastianbergmann/phpunit

On Tue, Oct 25, 2011 at 3:21 AM, andrewperk <[email protected]> wrote:

> Ok, I downloaded and put PHPUnit into my vendors folder. Now when I
> run test.php I get an error about not being able to load a file from
> PHPUnit's Autoload.php file
>
> require_once(PHP/CodeCoverage/Filter.php) [function.require-once]:
> failed to open stream: No such file or directory [ROOT/vendors/PHPUnit/
> Autoload.php, line 46]
>
> I tried updating pear channels and clearing pear cache, neither of
> those fixed this problem
>
> Is this Filter.php file part of Pear? Maybe PHPUnit isn't able to find
> it because my pear isn't working properly? When I run 'pear' in the
> terminal it appears to be working just fine.
>
> Thanks for any help.
>
> On Oct 24, 2:35 pm, euromark <[email protected]> wrote:
> > I dont install it at all and just drop the necessary files in /vendors
> > works like a charm :)
> >
> > On 24 Okt., 22:23, 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
>

-- 
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