什麼是 pytest-application-layer-testing?
測試案例和應用程式服務:使用模擬閘道進行用例測試、DTO 測試、應用程式異常測試、編排測試、適配器邊界模擬。覆蓋率目標:85-90%。 使用時機:測試案例、測試應用程式服務、測試 DTO 和資料轉換、測試案例中的錯誤處理、在層邊界模擬外部相依性。 來源:dawiddutoit/custom-claude。
測試案例和應用程式服務:使用模擬閘道進行用例測試、DTO 測試、應用程式異常測試、編排測試、適配器邊界模擬。覆蓋率目標:85-90%。 使用時機:測試案例、測試應用程式服務、測試 DTO 和資料轉換、測試案例中的錯誤處理、在層邊界模擬外部相依性。
透過命令列快速安裝 pytest-application-layer-testing AI 技能到你的開發環境
來源:dawiddutoit/custom-claude。
The application layer orchestrates domain logic with external dependencies. Tests verify that use cases correctly coordinate business logic and integration boundaries.
Use when testing use cases and application services with "test use case", "mock gateways", "test orchestration", or "test DTOs".
Do NOT use for domain testing (use pytest-domain-model-testing), adapter testing (use pytest-adapter-integration-testing), or pytest configuration (use pytest-configuration).
測試案例和應用程式服務:使用模擬閘道進行用例測試、DTO 測試、應用程式異常測試、編排測試、適配器邊界模擬。覆蓋率目標:85-90%。 使用時機:測試案例、測試應用程式服務、測試 DTO 和資料轉換、測試案例中的錯誤處理、在層邊界模擬外部相依性。 來源:dawiddutoit/custom-claude。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-application-layer-testing測試案例和應用程式服務:使用模擬閘道進行用例測試、DTO 測試、應用程式異常測試、編排測試、適配器邊界模擬。覆蓋率目標:85-90%。 使用時機:測試案例、測試應用程式服務、測試 DTO 和資料轉換、測試案例中的錯誤處理、在層邊界模擬外部相依性。 來源:dawiddutoit/custom-claude。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-application-layer-testing 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dawiddutoit/custom-claude