生菜和Pyccuracy有什么区别?
有经验的人可以同时使用 生菜 和 Pyccuracy 描述一下它们在功能和用途方面的差异?
来自生菜概述文档:
Lettuce是一个非常简单的基于Cucumber的BDD工具,目前它比Lettuce有更多的功能。
Lettuce 的目标是 BDD 上最常见的任务,并且特别关注那些让 BDD 如此有趣的任务:)
通过创建一个或多个场景,为开发人员提供以自然语言描述功能的能力。
来自 Pyccuracy github 页面:
Pyccuracy 是一种用 Python 编写的行为驱动开发风格的工具,旨在使编写自动化验收测试变得更容易。它通过使用结构化自然语言以及扩展该语言的简单机制来提高这些测试的可读性,以便开发人员和客户都可以协作并理解测试的作用。
Can someone with experience using both Lettuce and Pyccuracy describe their differences both in terms of features and uses?
From the Lettuce Overview documentation:
Lettuce is a very simple BDD tool based on Cucumber, which currently has many more features than Lettuce.
Lettuce aims the most common tasks on BDD and it focus specially on those that make BDD so fun :)
Provide to the developers the ability of describing features in a natural language, by creating one or more scenarios.
From the Pyccuracy github page:
Pyccuracy is a Behaviour-Driven-Development-style tool written in Python that aims to make it easier to write automated acceptance tests. It improves the readability of those tests by using a structured natural language – and a simple mechanism to extend this language – so that both developers and customers can collaborate and understand what the tests do.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Pyccuracy 使用 Gherkin DSL 来驱动 Selenium 测试。即通过浏览器进行UI测试。
Lettuce 使用 Gherkin DSL 来驱动有时称为“皮下”的验收测试。也就是说,领域层的测试独立于 UI。
Pyccuracy uses the Gherkin DSL to drive Selenium tests. That is, UI tests through a browser.
Lettuce uses the Gherkin DSL to drive what are sometimes called 'subcutaneous' acceptance tests. That is, tests of your domain layer independent of the UI.