Skip to main content

yaml-test-core

Python License Status

YAML 自动化测试框架内核,轻量、高可扩展、纯异步接口测试运行时。

专为接口自动化测试、yaml 用例驱动、动态表达式、自定义工具、Allure 可视化报告设计。

✨ 核心特性

  • 🚀 全异步执行引擎 基于 asyncio 实现,接口请求、表达式渲染、工具调用全部异步化
  • 📄 纯 YAML 用例驱动 零代码编写接口自动化,用例结构清晰易维护
  • 🧩 强大表达式引擎 支持 ${var} 变量渲染、JSONPath、自定义工具函数调用
  • 🔧 可注册自定义工具 支持同步/异步工具注册,业务高度可扩展
  • 📊 完整 Allure 报告 自动生成步骤层级、执行日志、断言详情、失败附件
  • 🔁 原生循环步骤支持 内置 Loop 步骤、break_loop、跳过机制
  • ✅ 软硬断言体系 支持批量断言、软断言不中断、失败兜底策略
  • 🧼 完整上下文隔离 步骤上下文、循环子上下文自动克隆隔离

📦 安装

pip install yaml-test-core

Metadata

Release files for yaml-test-core 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaml-test-core 1.0.4
File Size Uploaded
yaml_test_core-1.0.4.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaml-test-core 1.0.4
File Interpreter ABI Platform
yaml_test_core-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 50.8 kB

Release files / yaml_test_core-1.0.4.tar.gz

Download URL yaml_test_core-1.0.4.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f1cbcda421ed7f0d6a754f0825207aa750792755444e659838afb5ec29057ec6
BLAKE2b-256 checksum
How to use checksums
0e8414b1d2d06c92c5882b19f188acfbcb9b9c3196db247ed9521046787bf382
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.0.4-py3-none-any.whl

Download URL yaml_test_core-1.0.4-py3-none-any.whl
Size 28.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f35c9cb985521c2229d197d58d1fa80649c9c2f31f74e64b481538448ba3e44a
BLAKE2b-256 checksum
How to use checksums
26bac9c428789e0c26c2b9aed2aef15c17aa1b9a5169e0bfd7f115f1a092d402
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 history Release notifications | RSS feed

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page