#基于httprunner封装
本次更新:
一 、基于httprunner封装,改名为mkrunner
1、可通过pip install mkrunner直接下载,项目启动直接使用mkrun进行启动,不需要带allure各项参数
2、运行结束后,本地启动httpserver服务,链接可点击到报告详情页
二、报告优化
1、增加case运行步骤的request,response展示,可以根据步骤查看request及response。
2、增加可查看case重试次数,详情中可查看历史失败原因
3、根据目录结构,将用例报告分类在Suites中展示。
4、根据运行主模块,将用例进行分类放在报告Behaviors下展示
5、增加报告历史趋势
三、公共方法集成到mkrunner源码中。
1、将一些公共方法封装到源码内,用例项目结构删util及run.py文件,修改debugtalks中公共方法调用方式。
Metadata
Release files for mkrunner 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkrunner-1.2.1.tar.gz | 48.2 kB | Without provenance | Details for mkrunner-1.2.1.tar.gz |
Release files / mkrunner-1.2.1.tar.gz
| Download URL | mkrunner-1.2.1.tar.gz |
|---|---|
| Size | 48.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96dae95ecb2249c8813b942fd289f55283177c75cf6eb85d14c90f574a4db678
|
|
BLAKE2b-256 checksum How to use checksums |
7915eed763b13e97c480e11e90cfec16e1de9db36feb9ac894893e114b720b5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for mkrunner 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.