Last Updated: February 25, 2016
·
588
· oncletom

PHPUnit + Symfony1 one-liner

No plugin is needed to test your code from the command-line in a Symfony 1.x project. Just head to the root folder of your SF project and type:

phpunit --bootstrap test/bootstrap/unit.php lib/myLib/Tests