phpunit how to run specific test code example
Example: how to run single test in phpunit
phpunit --filter methodName ClassName path/to/file.php
# For newer versions of phpunit, it is just:
phpunit --filter methodName path/to/file.php
phpunit --filter methodName ClassName path/to/file.php
# For newer versions of phpunit, it is just:
phpunit --filter methodName path/to/file.php