LintYiiUnit is a drop in UnitTest that checks your Models, Views, Controllers, Components & Commands for PHP syntax errors.
Requirements ¶
OSX or Linux
Usage ¶
Simply drop LintYiiUnitTest.php into protected/tests/unit directory.
*If you use a behaviors DIR (protected/behaviors) like I do then you can uncomment the testBehaviorsForErrors test to include coverage.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.