Re: PhpUnit command not found
| From: | Michael Mitchell | Date: | Sat, 28 May 2011 04:27:05 +0000 |
| Subject: | Re: PhpUnit command not found | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31124@lists.php.net to get a copy of this message | ||
I ran this
pear config-get bin_dir
which is supposed to tell me where executable files are located
I got this
/Users/michaelmitchell/pear/bin
And put that in the Path in .bash_profile, but it didn't fix anything.
*Do you know how to test whether the files are properly installed?*
On Sat, May 28, 2011 at 12:23 AM, Mark Steudel <msteudel@gmail.com> wrote:
> Sounds like your phpunit isn't in your enivorment variable. Do you
> know where phpunit actually got installed?
>
> MS
>
> On Fri, May 27, 2011 at 9:11 PM, Michael Mitchell
> <michaeljohnmitchell@gmail.com> wrote:
> > Thanks for the reply. If I do
> > which phpunit
> > it just gives me a new prompt. It doesn't provide any information.
> > I'm using MAMP on a Mac.
> >
> > On Sat, May 28, 2011 at 12:05 AM, Mark Steudel <msteudel@gmail.com>
> wrote:
> >>
> >> What happens if you do
> >> %which phpunit
> >>
> >> MS
> >>
> >> On Fri, May 27, 2011 at 6:22 PM, Michael Mitchell
> >> <michaeljohnmitchell@gmail.com> wrote:
> >> > Hi,
> >> >
> >> > I have a question posted at StackOver flow with details (see link
> below)
> >> > but
> >> > thought this might be a better route.
> >> >
> >> > I installed the pear Php Unittest package (there is a file PHPUnit in
> my
> >> > directory where the Pear install is), but when I run this command
> >> >
> >> > % phpunit functional/SiteTest.php
> >> >
> >> >
> >> > it's telling me that phpunit is not found.
> >> >
> >> > Does anyone have any idea what I might be doing wrong?
> >> >
> >> > Note, I'm on a Mac using MAMP
> >> >
> >> >
> >> >
>
> http://stackoverflow.com/questions/6159073/where-is-the-pear-phpunit-command
> >> >
> >>
> >>
> >>
> >> --
> >> -----------------------------------------
> >> Mark Steudel
> >> P: 425.298.7244
> >> F: 206.260.3021
> >> msteudel@gmail.com
> >>
> >> . : Work : .
> >> http://www.mindfulinteractive.com
> >>
> >> . : Play : .
> >> http://www.steudel.org/blog
> >>
> >> . : LinkedIn : .
> >> http://www.linkedin.com/in/steudel
> >
> >
>
>
>
> --
> -----------------------------------------
> Mark Steudel
> P: 425.298.7244
> F: 206.260.3021
> msteudel@gmail.com
>
> . : Work : .
> http://www.mindfulinteractive.com
>
> . : Play : .
> http://www.steudel.org/blog
>
> . : LinkedIn : .
> http://www.linkedin.com/in/steudel
>