TestNg emailable

编程入门 行业动态 更新时间:2024-10-26 00:28:24
本文介绍了TestNg emailable-report 没有更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

当我通过右键单击运行 tesng.xml 文件来运行它时,emailable-report.html 文件显示为最新的测试结果,但是当通过mvn test"从终端运行它时,测试结果按预期到来,但 emailable-report.html 文件根据当前结果更新.

When I am running the tesng.xml file by running it by right clicking on it ,the emailable-report.html file is showing as per the latest test result ,but While running it from terminal by "mvn test" test results are coming as per expected but emailable-report.html file is updated as per the current result .

推荐答案

那是因为当您使用 maven 运行它时,您的报告可能是在目标文件夹中生成的,而直接通过 testng.xml 运行它时,您的报告可能是在 test-output 中生成的.因此,您可能希望它位于不同的位置,并且您打开了错误的报告,而您的最新报告在目标文件夹中.

That's because your report is probably generated in target folder when you run it with maven and in test-output when running it via testng.xml directly. So you are probably expecting it to be in different place and you are opening wrong report, while your latest report is in target folder.

这篇关于TestNg emailable-report 没有更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 22:02:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1401115.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:TestNg   emailable

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!