Java 增强梯度';s";测试“;具有自定义测试框架的任务
现有任务仅支持三种Java 增强梯度';s";测试“;具有自定义测试框架的任务,java,unit-testing,gradle,gradle-plugin,Java,Unit Testing,Gradle,Gradle Plugin,现有任务仅支持三种TestFramework实现: , 及 如何添加对自定义测试框架的支持(最有可能是通过Gradle插件)。g、 :或--,以便在测试任务期间执行自定义单元测试 更新: 扩展org.gradle.api.tasks.testing.AbstractTestTask的天真方法在运行时导致以下失败(gradle 5.1,应用了我的自定义插件): 在添加新的测试框架时,我真的需要关心HTML和JUnitXML报告吗 FAILURE: Build failed with an e
TestFramework
实现:
- ,
- 及
测试
任务期间执行自定义单元测试
更新:
扩展org.gradle.api.tasks.testing.AbstractTestTask
的天真方法在运行时导致以下失败(gradle 5.1,应用了我的自定义插件):
在添加新的测试框架时,我真的需要关心HTML和JUnitXML报告吗
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':test1'.
> No value has been specified for property 'binResultsDir'.
> No value has been specified for property 'reports.html.destination'.
> No value has been specified for property 'reports.junitXml.destination'.
> No value has been specified for property 'reports.enabledReports.html.destination'.
> No value has been specified for property 'reports.enabledReports.junitXml.destination'.