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.2.1

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.2.1
File Size Uploaded
yaml_test_core-1.2.1.tar.gz 41.5 kB Details

Built distribution (wheel)

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

Total release size: 93.3 kB

Release files / yaml_test_core-1.2.1.tar.gz

Download URL yaml_test_core-1.2.1.tar.gz
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a051fbeaa7aa48996a5f3b71a954e283d1843ec7efaeb98592fbef820cb2a530
BLAKE2b-256 checksum
How to use checksums
3ea8142a92b5fffa282a18bb77b403015dddfaff7b03867e283dc5f3336f0892
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.2.1-py3-none-any.whl

Download URL yaml_test_core-1.2.1-py3-none-any.whl
Size 51.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0615cd19e56c6f65a31da5b117bff5995a26906cee37085e0f6a52d0da7d92f
BLAKE2b-256 checksum
How to use checksums
e7338fffb0c36453a7dd84edd39b7f4ba3a083ede36c2fb6310774fcf0f316e7
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

This release

1.2.1 This release

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

1.0.4

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