数据驱动和关键字驱动测试之间的区别?
我已经在 Google 上搜索过数据和关键字驱动测试之间的差异,但我没有找到足够的答案。
I searched already to see differences between data and keyword driven testing on Google but I did not find an enough answer for me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
关键字和数据是自动化测试脚本中使用的工具。您使用关键字来表示操作。关键字序列驱动脚本。因此您可以使用同一组关键字来构建各种测试脚本。您使用数据作为脚本操作的输入。脚本中的每个数据集都提供一个测试用例。所以数据集越多,测试用例就越多。我们的想法是,这些工具有助于快速定义大量测试用例和测试脚本,以便您的测试覆盖范围更大。
我不会太沉迷于学习流行语的含义。只需使用可以帮助您进行更多更好测试的工具即可。
Keywords and data are tools used in automated test scripts. You use a keyword to represent an action. A sequence of keywords drive a script. So you can use the same set of keywords to build a variety of test scripts. You use data as inputs to your script actions. Each data set you have in the script, provides a test case. So the more data sets, the more test cases. The idea is that these tools help to quickly define numerous test cases and test scripts so that your test coverage is larger.
I wouldn't get too caught up in trying to learn meaning of buzz words. Just use tools that help you test more and better.
在 8 天的时间里,我有一些东西想在这里写:
首先,kdt 太贵了(对于时间和人员来说)。因此,几乎所有自动化测试工具都使用 hibrit(ddt 和 kdt)方法。正如 Dabowhekk 之前所说,kdt 还包括测试场景、动作和事件。
In 8 days, i got something that want to write here:
First thing, kdt is so expensive (for time and people). because of this, almost all automated testing tools uses a hibrit (ddt and kdt) approach. And like Dabowhekk said before, kdt also include test scenarios, actions&events.