Want to run single test method with phpunit? The following command runs the test on a single method:
phpunit --filter testSaveAndDrop EscalationGroupTest escalation/
phpunit --filter methodName ClassName path/to/file.php
For newer versions of phpunit, it is just:
phpunit --filter methodName path/to/file.php
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.