dotnet-testing-advanced-aspnet-integration-testing
ASP.NET Core 整合測試完整指南。當使用者需要測試 Web API 端點、驗證完整的 HTTP 請求/回應流程、測試中介軟體 (Middleware) 運作、驗證依賴注入設定、或詢問如何使用 WebApplicationFactory 進行整合測試時,請使用此技能。涵蓋 TestServer 設定、HttpClient 測試模式、AwesomeAssertions.Web HTTP 回應斷言、記憶體資料庫配置、服務依賴替換策略,以及三個層級 (Level 1/2/3) 的整合測試實作模式。
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Features and purpose
ASP.NET Core 整合測試完整指南。當使用者需要測試 Web API 端點、驗證完整的 HTTP 請求/回應流程、測試中介軟體 (Middleware) 運作、驗證依賴注入設定、或詢問如何使用 WebApplicationFactory 進行整合測試時,請使用此技能。涵蓋 TestServer 設定、HttpClient 測試模式、AwesomeAssertions.Web HTTP 回應斷言、記憶體資料庫配置、服務依賴替換策略,以及三個層級 (Level 1/2/3) 的整合測試實作模式。
Quick start
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
Guides ↗Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-25
- Index updated
- 2026-03-06
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!