gpt4 book ai didi

robotframework - Robot Framework 中的任务和测试用例有什么区别?

转载 作者:行者123 更新时间:2023-12-05 09:12:44 34 4
gpt4 key购买 nike

我正在为我的自动化测试用例学习机器人框架。我发现一些代码有部分是任务。我想知道它们是否不同以及如何以正确的方式使用它们?

最佳答案

唯一的区别是名称,以及测试是在测试部分创建的(例如 *** Test Cases ***)和任务是在任务部分创建的(例如 *** 任务***)。否则,它们是相同的。

这是来自 the robot framework user guide :

For most parts creating tasks works the same way as creating tests and the only real difference is in terminology. Tasks can also be organized into suites exactly like test cases.

关于robotframework - Robot Framework 中的任务和测试用例有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57506596/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com