python-agent-pytest:用于zebrunner集成的Pytest插件

时间:2021-03-29 12:44:27
【文件属性】:
文件名称:python-agent-pytest:用于zebrunner集成的Pytest插件
文件大小:35KB
文件格式:ZIP
更新时间:2021-03-29 12:44:27
Python Zebrunner PyTest代理 Zebrunner Pytest官方代理提供报告功能。 它可以自动跟踪Selenium会话并将有关会话详细信息的信息发送到Zebrunner后端。 只需安装库并添加配置文件,即可轻松将其集成到项目中。 安装 pip install pytest-zebrunner 配置 安装后,库尚未准备就绪,无法使用。 如果没有其他配置,它将不会将数据发送到zebrunner服务。 要配置应用,您需要指定环境变量。 可以通过在.env文件中指定变量来完成。 环境变量 SERVICE_URL = ACCESS_TOKEN = ZEBRUNNER_PROJECT =ProjectName ZEBRUNNER_ENABLED =true BUILD =1.25.16 ENV =stage 您只能使用环境变量配置代
【文件预览】:
python-agent-pytest-main
----poetry.lock(47KB)
----.gitignore(2KB)
----pyproject.toml(2KB)
----src()
--------pytest_zebrunner()
----.pre-commit-config.yaml(612B)
----LICENSE(11KB)
----.github()
--------workflows()
----examples()
--------pytest_example()
----README.md(3KB)
----.flake8(31B)
----mypy.ini(66B)

网友评论