A framework for testing yunce offline plan
Project description
icecream 说明
icecream 用于http相关接口测试,通过类似postman的描述文件进行接口测试,并进行测试结果收集,目前支持yaml描述
支持功能
- 支持yaml文件用例描述
- 支持全局变量,环境变量,局部变量
- 支持如postman的prerequest, test
- 支持python自定义函数
- 支持python全系统语法及所有第三方包
- 支持常用assert断言格式
使用方法
- code方案
- http请求(区分上层yaml)
- ice.request 主请求,可以使用ice.response进行响应
- ice.send_request, 用于直接返回的请求,不可以使用ice.response进行响应
- 变量应用
- ice.environment.set() get
- ice.variables.set() get
- ice.globals.set() get
- 断言使用
- ice.test.less
- ice.test.eq
- http请求(区分上层yaml)
- yaml组织方案
- 查看samples样例
后续演进
- 支持json文件描述
- 支持数据驱动
- 支持报告生成
- 支持报告自定义模板
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icecream_cmri-1.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: icecream_cmri-1.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f737cd4f2599643da415f3ea76ee3176d63bc90108305e962df477c6154171
|
|
| MD5 |
2d45c8e885359e026a5bf2de863f96e9
|
|
| BLAKE2b-256 |
16fcad4f824df0c6cb14cf64411cfd9d8363f8b558ced023cc47a3f2bb1cbe58
|