·pytest-adapter-integration-testing
</>

pytest-adapter-integration-testing

测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。

5安装·0热度·@dawiddutoit

安装

$npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-adapter-integration-testing

如何安装 pytest-adapter-integration-testing

通过命令行快速安装 pytest-adapter-integration-testing AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-adapter-integration-testing
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dawiddutoit/custom-claude。

SKILL.md

查看原文

Adapters connect your application to external systems. This skill covers testing both unit-level (mocked) and integration-level (real services) scenarios.

Use when testing adapters and gateways with "test Shopify gateway", "mock HTTP responses", "test Kafka adapter", or "decide between mocks and containers".

Do NOT use for domain testing (use pytest-domain-model-testing), application layer (use pytest-application-layer-testing), or general mocking patterns (use pytest-mocking-strategy).

测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。 来源:dawiddutoit/custom-claude。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-adapter-integration-testing
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from dawiddutoit/custom-claude

快速解答

什么是 pytest-adapter-integration-testing?

测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。 来源:dawiddutoit/custom-claude。

如何安装 pytest-adapter-integration-testing?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-adapter-integration-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dawiddutoit/custom-claude