PHP not displaying errors when using PHPUnit -
when using phpunit terminal php not reporting errors if php error exists within php file. here example file using:
<?php class assertionstest extends phpunit_framework_testcase { public function testexception() { new nonexistantclass; } }
clearly nonexistantclass no exist. when running phpunit, getting this:
jamesjeffery$ phpunit assertionstest.php phpunit 3.7.19 sebastian bergmann.
no php errors.
i using php 5.4.10. have error reporting set e_all , display_errors set on.
any idea's happening?
Comments
Post a Comment