与surefire并行运行测试,并使用TestNG Jenkins插件正确显示它们 [英] Running test in parallel with surefire and displaying them properly with the TestNG Jenkins plugin

查看:184
本文介绍了与surefire并行运行测试,并使用TestNG Jenkins插件正确显示它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用surefire运行具有并行执行的测试,并且一切似乎都正常工作.

I'm running tests with parallel execution using surefire, and that all seems to work fine.

但是,在target/surefire-reports/文件夹中只生成了一个testng-results.xml,它仅包含最后运行的测试结果.

However, there's only one testng-results.xml generated in the target/surefire-reports/ folder which ... only contains the results of the test that ran last.

我发现了一个完全与旧版的surefire所报告的问题有关的问题,并在此处说无法解决":

I found an issue exactly for that reported for an older version of surefire, and it says "won't fix" here:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆