testing - 无法在 Sahi 中生成 junit 报告

标签 testing junit junit4 automated-tests sahi

我有一个包含 3 个测试用例(.xls 文件)的测试套件。使用 ant 脚本,我正在运行测试套件,但 junit 报告使用 TEST-excelfw_firefox.xml(/temp/junit/..) 生成所有 xml。所以最后我只得到一个 .xml 文件而不是 3 个。如何在 Sahi 中使用 ant 生成具有不同名称的 .xml?

最佳答案

我刚刚将 .\userdata\config\reports\junit\report.properties 文件中的 script_file.name=TEST-scriptName.xml 更改为 script_file.name=TEST-reportId.xml 。现在我的 xml 正在生成带有时间戳。

关于testing - 无法在 Sahi 中生成 junit 报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12142742/

相关文章:

django - Jenkins JUnit 插件给出错误 "ERROR: No test report files were found. Configuration error?"

java - 在 Kotlin 中模拟 : Argument passed to verify is not a mock

unit-testing - 服务和 DAO 层的 JUNIT 测试

android - espresso onView 性能不一致

testing - 适用于 odoo 的自动化测试工具

testing - Selenium Web测试自动化框架最佳实践

database - 使用 Cucumber 和 databasecleaner 时,我可以在表中保留一个条目吗?

testing - 如何在 I/O 行为不佳的情况下测试应用程序的可靠性

Android 单元测试, super 弃用,替换?

java - Spring Boot 测试不工作