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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -