PHPUnit print tests execution time

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

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

9条回答
  •  囚心锁ツ
    2021-02-11 21:30

    In my opinion, the simplest solution is to export test statistic as json:

    $ phpunit --log-json testExport.json

提交回复
热议问题