stuartherbert / sublime-phpunit

PHPUnit Support for Sublime Text 2
https://github.com/stuartherbert/sublime-phpunit
Other
103 stars 20 forks source link

unable to run tests sublime text 2 #47

Open 0x4E0x650x6F opened 10 years ago

0x4E0x650x6F commented 10 years ago

when i run tests this this is what shows in the console.

Traceback (most recent call last): File "./sublimeplugin.py", line 362, in run File "./phpunit.py", line 769, in run File "./phpunit.py", line 276, in run File "./phpunit.py", line 234, in start_async File "./phpunit.py", line 101, in init File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception

stuartherbert commented 9 years ago

I'm not sure what is causing this. It could be that ST2 can't find 'phpunit' in your PATH.

I've just pushed a new feature, where this plugin will look in 'vendor/bin' for PHPUnit first. Can you let me know if that solves your problem?