Summary
.NET 進階測試技能總覽與引導中心。當使用者詢問「整合測試」、「API 測試」、「容器化測試」、「微服務測試」、「測試框架遷移」、「Testcontainers」、「Aspire 測試」等進階測試需求時觸發。會根據具體需求推薦適合的子技能組合,涵蓋整合測試、Testcontainers、Aspire…
kevintsengtw/dotnet-testing-agent-skills
.NET 進階測試技能總覽與引導中心。當使用? Make sure to use this skill whenever the user mentions integration testing, API testing, Testcontainers, .NET Aspire testing, WebApplicationFactory, or xUnit/TUnit migration, even if they don't explicitly ask for advanced testing guidance.
npx skills add kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced
.NET 進階測試技能總覽與引導中心。當使用者詢問「整合測試」、「API 測試」、「容器化測試」、「微服務測試」、「測試框架遷移」、「Testcontainers」、「Aspire 測試」等進階測試需求時觸發。會根據具體需求推薦適合的子技能組合,涵蓋整合測試、Testcontainers、Aspire…
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, …
267K installsUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installsOther skills from kevintsengtw/dotnet-testing-agent-skills · top by installs.
npx skills add kevintsengtw/dotnet-testing-agent-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Alternate registries and mirrors of this skill.
npx skills add smithery/kevintsengtw --skill dotnet-testing-advanced
main
Files included with this skill beyond the listing page.
SKILL.md
11,822 B
SUMMARY.md
1,017 B
本檔案是「進階測試導航中心」,幫助找到正確的進階子技能。進階測試涉及容器管理、WebApplicationFactory 設定等複雜細節,子技能包含完整的設定指引和常見問題排解,載入正確的子技能能確保使用者獲得完整指引。
根據使用者需求匹配對應的進階子技能,使用 Skill tool 載入,讓子技能提供專業的整合測試指引。
使用者提到的關鍵字 → 應載入的進階子技能
| 使用者說... | 載入指令 | 用途說明 |
|---|---|---|
| API 測試、Controller 測試、端點測試 | /skill dotnet-testing-advanced-aspnet-integration-testing |
基礎 API 整合測試 |
| 完整 CRUD、WebAPI 測試、業務流程測試 | /skill dotnet-testing-advanced-webapi-integration-testing |
完整 API 流程測試 |
| WebApplicationFactory、TestServer | /skill dotnet-testing-advanced-aspnet-integration-testing |
WebApplicationFactory 使用 |
| 使用者說... | 載入指令 | 用途說明 |
|---|---|---|
| SQL Server 容器、PostgreSQL、MySQL | /skill dotnet-testing-advanced-testcontainers-database |
關聯式資料庫容器測試 |
| MongoDB、Redis、Elasticsearch | /skill dotnet-testing-advanced-testcontainers-nosql |
NoSQL 資料庫容器測試 |
| 真實資料庫、EF Core 測試、Dapper 測試 | /skill dotnet-testing-advanced-testcontainers-database |
真實資料庫行為測試 |
| Testcontainers、容器測試、Docker 測試 | /skill dotnet-testing-advanced-testcontainers-database |
Testcontainers 基礎 |
| 使用者說... | 載入指令 | 用途說明 |
|---|---|---|
| .NET Aspire、微服務測試、分散式測試 | /skill dotnet-testing-advanced-aspire-testing |
Aspire 微服務測試 |
| DistributedApplication、服務間通訊 | /skill dotnet-testing-advanced-aspire-testing |
Aspire 應用測試 |
| 使用者說... | 載入指令 | 用途說明 |
|---|---|---|
| xUnit 升級、xUnit 3.x、版本升級 | /skill dotnet-testing-advanced-xunit-upgrade-guide |
xUnit 2.x → 3.x 升級 |
| TUnit、新測試框架、TUnit 基礎 | /skill dotnet-testing-advanced-tunit-fundamentals |
TUnit 基礎與遷移 |
| TUnit 進階、TUnit DI、平行執行 | /skill dotnet-testing-advanced-tunit-advanced |
TUnit 進階功能 |
使用者:請幫我建立 ProductsController 的 API 整合測試
AI:我注意到您需要進行 API 整合測試。根據快速對照表,
我應該載入 dotnet-testing-advanced-aspnet-integration-testing skill。
[使用 Skill tool 載入子技能]
AI:現在按照 ASP.NET Core Integration Testing skill 的指引為您建立測試...
如需查看完整的 8 個進階技能清單、詳細決策樹、學習路徑建議,請繼續閱讀本檔案後續內容。
根據測試情境(API 測試、真實資料庫、微服務、框架遷移)快速找到對應的進階子技能。涵蓋 4 大情境與多個選項分支。
詳細內容請參閱 [references/decision-tree.md](references/decision-tree.md)
8 個進階技能分為三大類:整合測試(4 個)、微服務測試(1 個)、框架遷移(3 個),包含各技能的核心價值、適合情境、學習難度與前置技能。
詳細內容請參閱 [references/skill-classification-map.md](references/skill-classification-map.md)
7 個常見任務的完整映射,包含情境描述、推薦技能、實施步驟、提示詞範例與預期程式碼結構。
詳細內容請參閱 [references/task-mapping-table.md](references/task-mapping-table.md)
根據專案複雜度,選擇適合的測試策略:
專案特徵:
推薦技能:
dotnet-testing-advanced-aspnet-integration-testing測試重點:
範例專案:
專案特徵:
推薦技能組合:
dotnet-testing-advanced-aspnet-integration-testing(基礎)dotnet-testing-nsubstitute-mocking(模擬依賴)測試策略:
範例專案:
專案特徵:
推薦技能組合:
dotnet-testing-advanced-webapi-integration-testing(完整流程)dotnet-testing-advanced-testcontainers-database(真實資料庫)dotnet-testing-advanced-testcontainers-nosql(如有使用 NoSQL)測試策略:
範例專案:
包含整合測試入門(1 週)、微服務測試專精(3-5 天)、框架遷移路徑等完整學習計畫與每日學習重點。
詳細內容請參閱 [references/learning-paths.md](references/learning-paths.md)
根據不同的專案需求,推薦以下技能組合:
適合:建立正式專案的完整測試套件
技能組合:
dotnet-testing-advanced-aspnet-integration-testing(基礎)dotnet-testing-advanced-testcontainers-database(真實資料庫)dotnet-testing-advanced-webapi-integration-testing(完整流程)學習順序:
預期成果:
適合:微服務架構、分散式系統
技能組合:
dotnet-testing-advanced-aspire-testing(核心)dotnet-testing-advanced-testcontainers-database(資料庫)dotnet-testing-advanced-testcontainers-nosql(NoSQL)學習順序:
預期成果:
適合:測試框架升級或遷移
技能:
dotnet-testing-advanced-xunit-upgrade-guide適合:
技能組合:
dotnet-testing-advanced-tunit-fundamentals(基礎)dotnet-testing-advanced-tunit-advanced(進階)適合:
學習順序:
學習進階技能前,建議先掌握以下基礎技能(來自 dotnet-testing 基礎技能集):
為什麼必須:
為什麼必須:
為什麼必須:
為什麼推薦:
為什麼推薦:
4 個完整的對話範例,展示 AI 如何引導選擇正確技能:API 測試、微服務測試、框架升級、TUnit 評估。
詳細內容請參閱 [references/conversation-examples.md](references/conversation-examples.md)
進階技能建立在基礎技能之上:
基礎測試能力 → dotnet-testing(基礎技能集)
↓ 進階應用
進階整合測試 → dotnet-testing-advanced(本技能集)
學習建議: 先完成 dotnet-testing 基礎技能集的核心技能,再進入本進階技能集。
2025 iThome 鐵人賽 Software Development 組冠軍
包含所有範例專案的可執行程式碼
整合測試技能:
Aspire 測試技能:
選擇符合您需求的進階技能開始學習,或告訴我您的具體情況,我會推薦最適合的學習路徑!
快速開始:
dotnet-testing-advanced-aspnet-integration-testing 開始dotnet-testing-advanced-testcontainers-database 開始dotnet-testing-advanced-aspire-testing