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.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 | |
|---|---|---|---|
| yaml_test_core-1.1.1.tar.gz | 35.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaml_test_core-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.5 kB
Release files / yaml_test_core-1.1.1.tar.gz
| Download URL | yaml_test_core-1.1.1.tar.gz |
|---|---|
| Size | 35.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
086427a2f17f769ceb1613060ac36a0bbec94fa3dfe144fd012983a66d5fb289
|
|
BLAKE2b-256 checksum How to use checksums |
f2cce09c6d30bc641c98d6dc6335de104eb54f57e01934eae484f99a38df84fc
|
| 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.1-py3-none-any.whl
| Download URL | yaml_test_core-1.1.1-py3-none-any.whl |
|---|---|
| Size | 45.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0e68877bd85e98719a8049d04ee9b34c9e70eca3d35bf7227387dee4e39574a
|
|
BLAKE2b-256 checksum How to use checksums |
a0ab83149d23289af88ef589f31471513f49fde823b21e1b411442f3222b5ba7
|
| 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}
|