yaml-test-core
YAML 自动化测试框架内核,轻量、高可扩展、纯异步接口测试运行时。
专为接口自动化测试、yaml 用例驱动、动态表达式、自定义工具、Allure 可视化报告设计。
✨ 核心特性
- 🚀 全异步执行引擎 基于 asyncio 实现,接口请求、表达式渲染、工具调用全部异步化
- 📄 纯 YAML 用例驱动 零代码编写接口自动化,用例结构清晰易维护
- 🧩 强大表达式引擎
支持
${var}变量渲染、JSONPath、自定义工具函数调用 - 🔧 可注册自定义工具 支持同步/异步工具注册,业务高度可扩展
- 📊 完整 Allure 报告 自动生成步骤层级、执行日志、断言详情、失败附件
- 🔁 原生循环步骤支持 内置 Loop 步骤、break_loop、跳过机制
- ✅ 软硬断言体系 支持批量断言、软断言不中断、失败兜底策略
- 🧼 完整上下文隔离 步骤上下文、循环子上下文自动克隆隔离
📦 安装
pip install yaml-test-core
Metadata
Release files for yaml-test-core 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yaml_test_core-1.1.6.tar.gz | 36.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaml_test_core-1.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.3 kB
Release files / yaml_test_core-1.1.6.tar.gz
| Download URL | yaml_test_core-1.1.6.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c54e1e3fc8c69a6e35c432c455f2532e38a7922369bce6ce404cf7addced776
|
|
BLAKE2b-256 checksum How to use checksums |
6e1db859b0738a6ea9368beffdaf7ec327a39b0e118d38db39cb99f54c739c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / yaml_test_core-1.1.6-py3-none-any.whl
| Download URL | yaml_test_core-1.1.6-py3-none-any.whl |
|---|---|
| Size | 46.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
696705a82552c961dd6d92c733034687d4e19bc00f0890c4ee407e38974d4059
|
|
BLAKE2b-256 checksum How to use checksums |
e6895c9f7702e246b14b44525509f9da2272d87d364ba4e70929ab5c558d656f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|