pytest bdd和spliter集成的常见步骤

pytest-bdd-splinter的Python项目详细描述


Pytest BDD碎片

此模块为 pytest-splinter英寸 pytest-bdd

安装

pip install pytest-bdd-splinter

示例数

Scenario: Fill in a form    Given I am using a large deviceAnd I am on the homepageWhen I go to "/my-contact-form/"And I fill in the following:        | first_name | John  |        | last_name  | Doe  |        | username   | johndoe  |        | password   | mysecret |And I press "agree-tos"And I press "submit"Then I should be on "/thank-you/"And I should see "Thank you for creating an account"

更多信息

请看the documentation 阅读有关安装、配置和所有 可用步骤。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java:不解析XML的简单XML。例外   KIE Workbench的java自定义UI   java将元素从bucket移动到LinkedList,但有一个元素被完全删除   如何将java stream collect转换为scala   java运行AsynkTask多次不工作   java组织。xml。萨克斯。SAXParseException:cvccomplextype。2.4.c:匹配的通配符是严格的   java是一种计算排序算法所需时间的合适方法   java在O(logn)时间内对排序整数数组中具有相同数字的数字进行计数   xpages从当前数据库javaAgent调用另一个数据库的javaAgent   java如何在instagram中上传特定位置的所有照片   JavaApachePOI可以有效地删除多个列   java创建的对象数   java我可以在关闭连接时关闭Oracle JDBC自动提交吗?