how to run phpunit test method in command line 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