dotnet-testing-advanced-aspnet-integration-testing
✓ASP.NET Core 整合測試的專門技能。 當需要測試 Web API 端點、HTTP 請求/回應、中介軟體、依賴注入時使用。 涵蓋 WebApplicationFactory、TestServer、HttpClient 測試、記憶體資料庫配置等。
SKILL.md
本技能指導如何在 ASP.NET Core 中建立有效的整合測試,使用 WebApplicationFactory 和 TestServer 測試完整的 HTTP 請求/回應流程。
⚠️ 重要提醒:使用 AwesomeAssertions 時,必須安裝 AwesomeAssertions.Web,而非 FluentAssertions.Web。
| 測試類型 | 測試範圍 | 執行速度 | 維護成本 | 建議比例 |
ASP.NET Core 整合測試的專門技能。 當需要測試 Web API 端點、HTTP 請求/回應、中介軟體、依賴注入時使用。 涵蓋 WebApplicationFactory、TestServer、HttpClient 測試、記憶體資料庫配置等。 来源:kevintsengtw/dotnet-testing-agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced-aspnet-integration-testing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 dotnet-testing-advanced-aspnet-integration-testing?
ASP.NET Core 整合測試的專門技能。 當需要測試 Web API 端點、HTTP 請求/回應、中介軟體、依賴注入時使用。 涵蓋 WebApplicationFactory、TestServer、HttpClient 測試、記憶體資料庫配置等。 来源:kevintsengtw/dotnet-testing-agent-skills。
如何安装 dotnet-testing-advanced-aspnet-integration-testing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced-aspnet-integration-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/kevintsengtw/dotnet-testing-agent-skills