pytest_demo

时间:2021-03-28 14:44:00
【文件属性】:
文件名称:pytest_demo
文件大小:46KB
文件格式:ZIP
更新时间:2021-03-28 14:44:00
Python pytest +Selenium:演示测试 设置说明(假设您已经安装了Python和pip) 如果克隆此存储库,则可以执行pip install -r requirements.txt一次安装pytest和selenium。 否则,您可以一个接一个地安装它们。 请注意,由于Selenium 3不支持默认的Firefox,您仍然需要安装geckodriver。 pytest 通过pip或easy_install安装 : pip install -U pytest or easy_install -U pytest 安装后,可以通过运行以下命令检查已安装的版本: pytest --version Seleniumwebdriver 通过pip安装 : pip install -U selenium 壁虎 的Unix 从下载tar文件 转到下载位置并解压缩文件: tar -xvz
【文件预览】:
pytest_demo-master
----test_fixtures.py(3KB)
----test_parameters.py(3KB)
----test_skip.py(914B)
----requirements.txt(16B)
----pytest.pptx(74KB)
----LICENSE(1KB)
----README.md(2KB)
----test_custom_markers.py(2KB)
----test_xfail.py(910B)
----test_simple_assert.py(749B)

网友评论