“Web interface” to PHPUnit tests?

前端 未结 11 853
臣服心动
臣服心动 2020-12-02 15:37

Is there a simple \"Web interface\" to running PHPUnit test suites? i.e. a PHP script that runs the test on the command line, and outputs a nicely formatted HTML result.

11条回答
  •  被撕碎了的回忆
    2020-12-02 16:00

    You can use Jenkins to run any kind of tasks including PHPUnit tests. It can automatically checkout your app, run the tests, build a HTML report and even email you if the build fails.

    Here's the templates you need to setup Jenkins to build a bunch of interesting reports and stats from your project.

提交回复
热议问题