After spending several hours today searching and seeing several people having the same issue, I thought I turn to SO.
I run a WAMP stack; I have successfully installed PEAR and PHPUnit 3.6 using PEAR. I’m able to run phpunit over command line.
My WAMP folder is located at C:\wamp – I have several www folders – for sake of example let’s say I have an MVC application located at C:\www\myproject.
/myproject
/application
/controllers
/models
/modules
/forum
/controllers
/models
/tests
/views
/views
/public_html
/tests
I’d like to know where PHPUnit is looking when I run something like
phpunit ArrayTest
Any help greatly appreciated,
Thanks
It is looking for your /tests in the current directory. Change (cd ..) to the directory containing your project and run phpunit.