擅长:python、mysql、java
<p>第一点:如果你阅读<a href="https://github.com/mkorpela/pabot/blob/master/README.md" rel="nofollow noreferrer">the GitHub readme page</a>,在“你应该知道的事情”中,它说:</p>
<blockquote>
<p>Pabot will split test execution from suite files and not from individual test level.</p>
</blockquote>
<p>所以在测试级别上没有什么可以做的,除非您帮助开发工具,这样就可以并行地启动测试用例了。</p>
<p>第二点:使用<a href="https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#rebot" rel="nofollow noreferrer">rebot</a>。可以使用以下命令合并多个测试执行报告:</p>
<pre><code>rebot merge output1.xml output2.xml
</code></pre>
<p>这将只生成html报告。获得合并输出.xml文件,只需在参数中添加一个<code>-o output.xml</code>,如下所示:</p>
^{pr2}$