TestNG Eclipse 插件中报告的多个文件夹
我正在使用 TestNG Eclipse 插件运行测试用例。如何通过配置 testng.xml 指定不同的文件夹作为 HTML 报告的输出? 我已经看到 Cedric 对这个非常相似的问题的回答(http://stackoverflow.com/questions/5401746/generate-testng-reports/),但我无法在 TestNG Eclipse 插件上获得相同的答案。我已经尝试过,并且我在文档中看到了另一堆类似的东西,但没有任何效果。
稍微扩展一下问题,我们希望能够重复运行测试并随时选取最后 n 个(比如 20 个)报告,这可能吗?有时我们会使用 TestNG 来做很多探索性测试。由于某些失败很少见且难以重复(并且在第一种方法中可能无法预测它们),因此有时“探索者”只是重新运行测试并丢失那些不稳定的失败。
预先感谢对主要问题或有点扩展的问题的任何回答,问候,恩里克
I'm running Test Cases with TestNG Eclipse plugin. How can I specify a distinct folder as output to the HTML reports by configurating testng.xml?
I've seen Cedric's answer to this very similar question (http://stackoverflow.com/questions/5401746/generating-testng-reports/), but I couldn't obtain the same on TestNG Eclipse plugin. I've tried , and another bunch of similar things I've seen in the doc and nothing worked.
Extending the question a bit, we want to be able to run tests repeatedly and pick at any time the last n (say 20) reports, is it possible? It happens sometimes we use TestNG to do a lot of exploratory test. As some fails are rare and hard to repeat (and in the first approach they may not be predicted as such), sometimes the "explorer" just re-run the test and lose that inconstant fail.
Thanks in advance to any answer to the primary or a bit extended question, Regards, Henrique
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在参数选项卡中传递参数 -doutputdir
try by passing argument -doutputdir in arguments tab