·dotnet-testing-advanced-aspnet-integration-testing
</>

dotnet-testing-advanced-aspnet-integration-testing

kevintsengtw/dotnet-testing-agent-skills

ASP.NET Core 整合測試的專門技能。 當需要測試 Web API 端點、HTTP 請求/回應、中介軟體、依賴注入時使用。 涵蓋 WebApplicationFactory、TestServer、HttpClient 測試、記憶體資料庫配置等。

20安裝·0熱度·@kevintsengtw

安裝

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced-aspnet-integration-testing

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