用于与reportportal集成的侦听器和访问者模块
robotframework-rp-tools的Python项目详细描述
Robotframework RP工具
用于与ReportPortal集成的侦听器和访问者模块
安装
最新稳定版本的库在pypi上可用:
pip install robotframework-rp-tools
用法
要运行这些模块,您需要设置以下环境变量:
必需:
export RP_TOKEN="your_user_uuid"
export RP_ENDPOINT="your_reportportal_url"
export RP_LAUNCH="launch_name"
export RP_PROJECT="reportportal_project_name"
不需要:
export RP_LAUNCH_DOC="some_documentation_for_launch"
- Description for the launch
export RP_LAUNCH_TAGS="RF Smoke"
- Space-separated list of tags for the launch
export RP_LOG_BATCH_SIZE="10"
- Default value is "20", affects size of async batch log requests
如果您需要倾听者:
--listener robotframework_rp_tools.Listener
如果有访客
--prerebotmodifier robotframework_rp_tools.Visitor
许可证
麻省理工学院许可证(请参阅license.txt文件)