I highly recommend you use this package, which is not available for package management:
Sublime-phpunit
You need to pull it manually by going to ~/Library/Application Support/Sublime Text 3/Packagesand insert it. If you install multiple key bindings, the workflow is very fast. Watch this video for more information:
Instant PHPUnit Feedback and Workflow
source
share