ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# C.6 CoverageSetupTask The CoverageSetupTask prepares a database which can be used to gather code coverage information for unit tests. Table C.7:聽Attributes NameTypeDescriptionDefaultRequired`database``String`The location for the coverage database.coverage.dbYes C.6.1 Example ``` <coverage-setup database="./reports/coverage.db"> <fileset dir="classes"> <include name="**/*.php"/> </fileset> </coverage-setup> <phpunit codecoverage="true"> <batchtest> <fileset dir="src"> <include name="*Test.php"/> </fileset> </batchtest> </phpunit> ``` C.6.2 Supported Nested Tags - `classpath` - `fileset` - `filelist`