开发者

Multiple folders to reports in TestNG Eclipse plugin

开发者 https://www.devze.com 2023-04-08 08:27 出处:网络
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'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


try by passing argument -doutputdir in arguments tab

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号