同时运行机器人框架测试 [英] Running robotframework tests simultaneously

查看:45
本文介绍了同时运行机器人框架测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法同时运行我的所有测试用例?如果是这样,您能否发布一个如何操作的示例?问候,梅尔

Is there a way to run all my test cases simultaneously? if so could you please post an example of how to do it? Regards, Meir

推荐答案

机器人没有内置任何东西可以并行运行测试.如果您的测试分布在多个套件中,您可以编写一个同时运行它们的脚本,然后您可以使用 rebot 将所有 output.xml 文件合并到一个报告中.

There is nothing built-in to robot to run tests in parallel. If your tests are spread across multiple suites you can write a script that runs them all at the same time, and then you can use rebot to combine all of the output.xml files into a single report.

有一个开源程序可以满足您的需求.该项目名为pabot",可在此处找到:https://github.com/mkorpela/pabot

There is an open source program that might do what you want. The project is named "pabot" and can be found here: https://github.com/mkorpela/pabot

这篇关于同时运行机器人框架测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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