I can run pear/phpunit from "cmd" just fine. I checked %PATH% and everything that is there is also in $PATH.
To be clear, this is not msysgit -- It is this:
Anyone know how I can make it get recognized?
I found that the problem was not in fact with the PATH (which was matching my Windows path perfectly). The problem is that Git Bash does not run ".bat" files:
To run a batch file you have to do a work around:
The solution in my case was to make an alias for phpunit in my
Hope that helps anyone else with the same problem.
I discovered that if you want to use arguments (such as specific a specific file to test) you will need to change what you put in your
Remove the .phar extension and disregard making the bat file if you're using an editor that isn't command prompt.
In the last line on the Windows installation documentation for phpunit it reads:
The Git Bash install that you linked is using MINGW32. That is what you have.