php - PHPUnit takes very long to display errors and fail -
i'm using phpunit test classes. when assertions correct, things fine, whenever there's php error found in code, phpunit says "time taken 0 seconds, 1 error" , takes 10-15 seconds display error , failure occured. seems full stack trace of error occurred, seems more comprehensive php default. reason taking long? if so, there way speed process?
maybe running tests --stop-on-failure parameter can not running other tests after error occurs , see reason of error immediately.
> phpunit --stop-on-failure .
another option run tests --tap option find test slow down tests
> phpunit --tap .
Comments
Post a Comment