有经验的人可以同时使用这两种方法吗 Lettuce和 Pyccuracy描述它们在功能和用途方面的差异?
来自Lettuce Overview文档:
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.
来自Pyccuracy github页面:
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.
最佳答案
Pyccuracy 使用 Gherkin DSL 来驱动 Selenium 测试。即通过浏览器进行UI测试。
Lettuce 使用 Gherkin DSL 来驱动有时称为“皮下”验收测试。也就是说,独立于 UI 的域层测试。
关于testing - Lettuce 和 Pyccuracy 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6346772/