PHPUnit print tests execution time

前端 未结 9 1421
天涯浪人
天涯浪人 2021-02-11 21:04

is there a way to print the execution time of each test with PHPUnit?

9条回答
  •  长情又很酷
    2021-02-11 21:44

    You can implement your own test runner, for example by extending PHPUnit_TextUI_TestRunner and make it collect and print run times.

提交回复
热议问题