Closed chriswft closed 11 years ago
To give so more information.
I have updated PHP to the latest version. Installed and updated PEAR to the latest version Installed PHPUnit through PEAR. Installed PHPUnit through package control in sublime text 2
I think I have narrowed it down to the fact that my PHPUnit is not in the default instal location and I have tried to change my path to phpunit but I then get a second issue.
{ "path_to_phpunit" : "/Program Files (x86)/PHP/pear/phpunit" }
I get the error
'/Program' is not recognized as an internal or external command, operable program or batch file.
It looks to be breaking at the space in the directory location but I cannot find a solution to resolve this but nothing seems to work???
Resolved the issue.
I reinstalled PHP with Xampp in a different location and it worked first time.
No matter what I try or where I search to try and find a setup to get this to work, whenever I try to run a test or right click to set xml file I get the below error
Running in folder: C:\Users\Chris\Desktop\UNIT testing $ phpunit -c phpunit.xml 'phpunit' is not recognized as an internal or external command, operable program or batch file.
--- PROCESS COMPLETE ---