Testing Just One Function In PHPUnit

A PHPUnit class might contain many test cases, to just run one testcase within each class can be helpful. Thanks to the filter option.

phpunit --filter test_function_name path/to/file.php
Like it.? Share it:
Tags:

Comments are closed.