什么是 pytest-adapter-integration-testing?
测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。 来源:dawiddutoit/custom-claude。
测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。
通过命令行快速安装 pytest-adapter-integration-testing AI 技能到你的开发环境
来源:dawiddutoit/custom-claude。
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测试适配器和网关:何时使用单元测试模拟与测试容器、模拟 HTTP 响应(aioresponses、响应)、模拟 Kafka 消息、模拟 ClickHouse 响应、测试错误路径和边缘情况。 使用时机:测试网关和适配器、测试外部服务集成、在模拟容器和真实容器之间做出决定、测试适配器中的错误处理、与真实服务的集成测试。 来源:dawiddutoit/custom-claude。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-adapter-integration-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dawiddutoit/custom-claude