我正在尝试制作一份测试覆盖率报告,但是当我执行以下命令时:
phpunit --coverage-html C:\Users\user\report.html
我遇到了以下错误:
PHPUnit 3.7.21 by Sebastian Bergmann.
Configuration read from C:\xampp\htdocs\dynamic_form\phpunit.xml
Time: 0 seconds, Memory: 6.00Mb
No tests executed!
Generating code coverage report in HTML format ... done
我正在使用 Laravel 默认提供的 phpunit.xml 文件。
可能出现了什么问题?
谢谢。
编辑:我添加了 forceCoversAnnotation="false" 属性,但问题仍然存在。