{"id":"01515290-5c35-4ddd-8e0e-cf3aab1f54d4","shortId":"sgNgEN","kind":"skill","title":"dotnet-testing-advanced","tagline":".NET 進階測試技能總覽與引導中心。當使用者詢問「整合測試」、「API 測試」、「容器化測試」、「微服務測試」、「測試框架遷移」、「Testcontainers」、「Aspire 測試」等進階測試需求時觸發。會根據具體需求推薦適合的子技能組合，涵蓋整合測試、Testcontainers、Aspire 測試、框架升級等 8 個進階技能。\nMake sure to use this skill whenever the user mentions integration testing, API testing, Testcontainers, .NET ","description":"# .NET 進階測試技能總覽\n\n本檔案是「進階測試導航中心」，幫助找到正確的進階子技能。進階測試涉及容器管理、WebApplicationFactory 設定等複雜細節，子技能包含完整的設定指引和常見問題排解，載入正確的子技能能確保使用者獲得完整指引。\n\n根據使用者需求匹配對應的進階子技能，使用 Skill tool 載入，讓子技能提供專業的整合測試指引。\n\n---\n\n## 快速技能對照表\n\n**使用者提到的關鍵字 → 應載入的進階子技能**\n\n### 整合測試技能\n\n| 使用者說... | 載入指令 | 用途說明 |\n|------------|----------|----------|\n| **API 測試**、Controller 測試、端點測試 | `/skill dotnet-testing-advanced-aspnet-integration-testing` | 基礎 API 整合測試 |\n| **完整 CRUD**、WebAPI 測試、業務流程測試 | `/skill dotnet-testing-advanced-webapi-integration-testing` | 完整 API 流程測試 |\n| **WebApplicationFactory**、TestServer | `/skill dotnet-testing-advanced-aspnet-integration-testing` | WebApplicationFactory 使用 |\n\n### 容器化測試技能\n\n| 使用者說... | 載入指令 | 用途說明 |\n|------------|----------|----------|\n| **SQL Server 容器**、PostgreSQL、MySQL | `/skill dotnet-testing-advanced-testcontainers-database` | 關聯式資料庫容器測試 |\n| **MongoDB**、Redis、Elasticsearch | `/skill dotnet-testing-advanced-testcontainers-nosql` | NoSQL 資料庫容器測試 |\n| **真實資料庫**、EF Core 測試、Dapper 測試 | `/skill dotnet-testing-advanced-testcontainers-database` | 真實資料庫行為測試 |\n| **Testcontainers**、容器測試、Docker 測試 | `/skill dotnet-testing-advanced-testcontainers-database` | Testcontainers 基礎 |\n\n### 微服務測試技能\n\n| 使用者說... | 載入指令 | 用途說明 |\n|------------|----------|----------|\n| **.NET Aspire**、微服務測試、分散式測試 | `/skill dotnet-testing-advanced-aspire-testing` | Aspire 微服務測試 |\n| **DistributedApplication**、服務間通訊 | `/skill dotnet-testing-advanced-aspire-testing` | Aspire 應用測試 |\n\n### 框架升級技能\n\n| 使用者說... | 載入指令 | 用途說明 |\n|------------|----------|----------|\n| **xUnit 升級**、xUnit 3.x、版本升級 | `/skill dotnet-testing-advanced-xunit-upgrade-guide` | xUnit 2.x → 3.x 升級 |\n| **TUnit**、新測試框架、TUnit 基礎 | `/skill dotnet-testing-advanced-tunit-fundamentals` | TUnit 基礎與遷移 |\n| **TUnit 進階**、TUnit DI、平行執行 | `/skill dotnet-testing-advanced-tunit-advanced` | TUnit 進階功能 |\n\n---\n\n## 使用流程範例\n\n```\n使用者：請幫我建立 ProductsController 的 API 整合測試\n\nAI：我注意到您需要進行 API 整合測試。根據快速對照表，\n    我應該載入 dotnet-testing-advanced-aspnet-integration-testing skill。\n\n    [使用 Skill tool 載入子技能]\n\nAI：現在按照 ASP.NET Core Integration Testing skill 的指引為您建立測試...\n```\n\n---\n\n## 完整技能清單\n\n如需查看完整的 8 個進階技能清單、詳細決策樹、學習路徑建議，請繼續閱讀本檔案後續內容。\n\n---\n\n## 快速決策樹\n\n根據測試情境（API 測試、真實資料庫、微服務、框架遷移）快速找到對應的進階子技能。涵蓋 4 大情境與多個選項分支。\n\n> 詳細內容請參閱 [references/decision-tree.md](references/decision-tree.md)\n\n---\n\n## 技能分類地圖\n\n8 個進階技能分為三大類：整合測試（4 個）、微服務測試（1 個）、框架遷移（3 個），包含各技能的核心價值、適合情境、學習難度與前置技能。\n\n> 詳細內容請參閱 [references/skill-classification-map.md](references/skill-classification-map.md)\n\n---\n\n## 常見任務映射表\n\n7 個常見任務的完整映射，包含情境描述、推薦技能、實施步驟、提示詞範例與預期程式碼結構。\n\n> 詳細內容請參閱 [references/task-mapping-table.md](references/task-mapping-table.md)\n\n---\n\n## 整合測試層級對應\n\n根據專案複雜度，選擇適合的測試策略：\n\n### Level 1：簡單的 WebApi 專案\n\n**專案特徵**：\n- 簡單的 CRUD API\n- 無外部依賴或使用記憶體實作\n- 業務邏輯簡單\n\n**推薦技能**：\n- `dotnet-testing-advanced-aspnet-integration-testing`\n\n**測試重點**：\n- 路由驗證\n- 模型綁定\n- HTTP 回應\n- 基本業務邏輯\n\n**範例專案**：\n- TodoList API\n- 簡單的產品目錄\n\n---\n\n### Level 2：相依 Service 的 WebApi 專案\n\n**專案特徵**：\n- 有業務邏輯層（Services）\n- 依賴外部服務（可以 Mock）\n- 中等複雜度\n\n**推薦技能組合**：\n1. `dotnet-testing-advanced-aspnet-integration-testing`（基礎）\n2. `dotnet-testing-nsubstitute-mocking`（模擬依賴）\n\n**測試策略**：\n- 使用 NSubstitute 建立 Service stub\n- 測試 Controller 與 Service 的互動\n- 驗證錯誤處理\n\n**範例專案**：\n- 電商 API（有庫存、訂單服務）\n- CMS 系統\n\n---\n\n### Level 3：完整的 WebApi 專案\n\n**專案特徵**：\n- 複雜的業務邏輯\n- 需要真實資料庫\n- 可能有外部 API 整合\n- 完整的錯誤處理\n\n**推薦技能組合**：\n1. `dotnet-testing-advanced-webapi-integration-testing`（完整流程）\n2. `dotnet-testing-advanced-testcontainers-database`（真實資料庫）\n3. `dotnet-testing-advanced-testcontainers-nosql`（如有使用 NoSQL）\n\n**測試策略**：\n- 使用 Testcontainers 建立真實資料庫\n- 完整的端到端測試\n- 測試資料準備與清理\n- 驗證所有錯誤情境\n\n**範例專案**：\n- 大型電商平台\n- 企業級管理系統\n- SaaS 應用\n\n---\n\n## 學習路徑建議\n\n包含整合測試入門（1 週）、微服務測試專精（3-5 天）、框架遷移路徑等完整學習計畫與每日學習重點。\n\n> 詳細內容請參閱 [references/learning-paths.md](references/learning-paths.md)\n\n---\n\n## 技能組合建議\n\n根據不同的專案需求，推薦以下技能組合：\n\n### 組合 1：完整 API 測試專案\n\n**適合**：建立正式專案的完整測試套件\n\n**技能組合**：\n1. `dotnet-testing-advanced-aspnet-integration-testing`（基礎）\n2. `dotnet-testing-advanced-testcontainers-database`（真實資料庫）\n3. `dotnet-testing-advanced-webapi-integration-testing`（完整流程）\n\n**學習順序**：\n1. 先學 aspnet-integration-testing 理解基礎\n2. 再學 testcontainers-database 掌握資料庫測試\n3. 最後學 webapi-integration-testing 整合應用\n\n**預期成果**：\n- 能為 Web API 專案建立完整測試\n- 使用真實資料庫驗證行為\n- 測試所有 CRUD 端點與錯誤處理\n\n---\n\n### 組合 2：微服務測試方案\n\n**適合**：微服務架構、分散式系統\n\n**技能組合**：\n1. `dotnet-testing-advanced-aspire-testing`（核心）\n2. `dotnet-testing-advanced-testcontainers-database`（資料庫）\n3. `dotnet-testing-advanced-testcontainers-nosql`（NoSQL）\n\n**學習順序**：\n1. 先學 testcontainers（資料庫測試基礎）\n2. 再學 aspire-testing（微服務測試）\n\n**預期成果**：\n- 測試 .NET Aspire 專案\n- 驗證服務間通訊\n- 使用容器化環境測試\n\n---\n\n### 組合 3：框架現代化\n\n**適合**：測試框架升級或遷移\n\n#### 選項 A：xUnit 升級\n**技能**：\n- `dotnet-testing-advanced-xunit-upgrade-guide`\n\n**適合**：\n- 現有專案使用 xUnit 2.x\n- 想升級到最新版本\n\n---\n\n#### 選項 B：TUnit 遷移\n**技能組合**：\n1. `dotnet-testing-advanced-tunit-fundamentals`（基礎）\n2. `dotnet-testing-advanced-tunit-advanced`（進階）\n\n**適合**：\n- 新專案選擇測試框架\n- 考慮從 xUnit 遷移\n\n**學習順序**：\n1. 先學 fundamentals 了解基礎\n2. 再學 advanced 掌握進階功能\n\n---\n\n## 前置技能要求\n\n學習進階技能前，建議先掌握以下基礎技能（來自 `dotnet-testing` 基礎技能集）：\n\n### 必備技能\n\n#### 1. dotnet-testing-unit-test-fundamentals\n**為什麼必須**：\n- 整合測試也遵循 3A Pattern\n- FIRST 原則同樣適用\n- 需要理解測試基礎概念\n\n---\n\n#### 2. dotnet-testing-xunit-project-setup\n**為什麼必須**：\n- 需要建立測試專案\n- 理解專案結構\n- 了解套件管理\n\n---\n\n#### 3. dotnet-testing-awesome-assertions-guide\n**為什麼必須**：\n- 整合測試需要驗證 HTTP 回應\n- FluentAssertions.Web 提供強大的 API 斷言\n- 提升測試可讀性\n\n---\n\n### 推薦技能\n\n#### 1. dotnet-testing-nsubstitute-mocking\n**為什麼推薦**：\n- 整合測試中可能需要 Mock 外部服務\n- WebApplicationFactory 需要替換服務\n\n---\n\n#### 2. dotnet-testing-autofixture-basics\n**為什麼推薦**：\n- 快速產生測試資料\n- 減少整合測試的樣板程式碼\n\n---\n\n## 引導對話範例\n\n4 個完整的對話範例，展示 AI 如何引導選擇正確技能：API 測試、微服務測試、框架升級、TUnit 評估。\n\n> 詳細內容請參閱 [references/conversation-examples.md](references/conversation-examples.md)\n\n---\n\n## 與基礎技能的關係\n\n進階技能建立在基礎技能之上：\n\n**基礎測試能力** → `dotnet-testing`（基礎技能集）\n- 單元測試基礎\n- 測試資料生成\n- 斷言與模擬\n- 特殊場景處理\n\n**↓ 進階應用**\n\n**進階整合測試** → `dotnet-testing-advanced`（本技能集）\n- Web API 整合測試\n- 容器化測試\n- 微服務測試\n- 框架升級\n\n**學習建議**：\n先完成 `dotnet-testing` 基礎技能集的核心技能，再進入本進階技能集。\n\n---\n\n## 輸出格式\n\n- 根據使用者需求推薦具體的進階子技能名稱與載入指令\n- 提供簡短的推薦理由說明為何選擇該技能\n- 若涉及多個技能組合，列出建議的學習順序\n\n## 相關資源\n\n### 原始資料來源\n\n- **iThome 鐵人賽系列文章**：[老派軟體工程師的測試修練 - 30 天挑戰](https://ithelp.ithome.com.tw/users/20066083/ironman/8276)\n  2025 iThome 鐵人賽 Software Development 組冠軍\n\n- **完整範例程式碼**：[30Days_in_Testing_Samples](https://github.com/kevintsengtw/30Days_in_Testing_Samples)\n  包含所有範例專案的可執行程式碼\n\n### 技術需求\n\n**整合測試技能**：\n- .NET 8+\n- Docker Desktop\n- WSL2（Windows 環境）\n\n**Aspire 測試技能**：\n- .NET 8+\n- .NET Aspire Workload\n- Docker Desktop\n\n---\n\n## 下一步\n\n選擇符合您需求的進階技能開始學習，或告訴我您的具體情況，我會推薦最適合的學習路徑！\n\n**快速開始**：\n- 想測試 API → 從 `dotnet-testing-advanced-aspnet-integration-testing` 開始\n- 需要真實資料庫 → 從 `dotnet-testing-advanced-testcontainers-database` 開始\n- 微服務專案 → 使用 `dotnet-testing-advanced-aspire-testing`\n- 框架升級 → 使用對應的升級指南\n- 不確定 → 告訴我您的專案情況，我會幫您分析","tags":["dotnet","testing","advanced","agent","skills","kevintsengtw","agent-skills","ai-assisted-development","copilot-skills","csharp","dotnet-testing","github-copilot"],"capabilities":["skill","source-kevintsengtw","skill-dotnet-testing-advanced","topic-agent-skills","topic-ai-assisted-development","topic-copilot-skills","topic-csharp","topic-dotnet","topic-dotnet-testing","topic-github-copilot","topic-integration-testing","topic-testing","topic-unit-testing","topic-xunit"],"categories":["dotnet-testing-agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/kevintsengtw/dotnet-testing-agent-skills/dotnet-testing-advanced","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add kevintsengtw/dotnet-testing-agent-skills","source_repo":"https://github.com/kevintsengtw/dotnet-testing-agent-skills","install_from":"skills.sh"}},"qualityScore":"0.461","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 23 github stars · SKILL.md body (6,764 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-24T13:02:25.895Z","embedding":null,"createdAt":"2026-04-18T23:04:21.788Z","updatedAt":"2026-04-24T13:02:25.895Z","lastSeenAt":"2026-04-24T13:02:25.895Z","tsv":"'-5':465 '/kevintsengtw/30days_in_testing_samples)':791 '/skill':70,86,99,118,129,144,156,173,184,203,221,235 '/users/20066083/ironman/8276)':777 '1':305,330,373,421,461,475,482,509,545,570,615,637,654,696 '2':212,359,382,430,491,516,539,553,574,607,623,641,668,708 '2025':778 '3':200,214,308,409,438,464,499,522,561,588,679 '30':773 '30days':785 '3a':663 '4':293,302,718 '7':317 '8':24,279,299,796,805 'advanc':4,74,90,103,122,133,148,160,177,188,207,225,239,241,260,344,377,425,434,442,486,495,503,549,557,565,600,619,627,629,643,748,822,832,841 'ai':251,269,721 'api':9,38,65,79,95,249,253,286,337,356,403,417,477,532,692,723,751,817 'asp.net':271 'aspir':15,21,170,178,180,189,191,550,577,583,802,807,842 'aspire-test':576 'aspnet':75,104,261,345,378,487,512,823 'aspnet-integration-test':511 'assert':684 'autofixtur':712 'awesom':683 'b':611 'basic':713 'cms':406 'control':67,396 'core':140,272 'crud':82,336,536 'dapper':142 'databas':124,150,162,436,497,520,559,834 'desktop':798,810 'develop':782 'di':233 'distributedappl':182 'docker':154,797,809 'dotnet':2,72,88,101,120,131,146,158,175,186,205,223,237,258,342,375,384,423,432,440,484,493,501,547,555,563,598,617,625,650,656,670,681,698,710,736,746,759,820,830,839 'dotnet-test':649,735,758 'dotnet-testing-advanc':1,745 'dotnet-testing-advanced-aspire-test':174,185,546,838 'dotnet-testing-advanced-aspnet-integration-test':71,100,257,341,374,483,819 'dotnet-testing-advanced-testcontainers-databas':119,145,157,431,492,554,829 'dotnet-testing-advanced-testcontainers-nosql':130,439,562 'dotnet-testing-advanced-tunit-advanc':236,624 'dotnet-testing-advanced-tunit-fundament':222,616 'dotnet-testing-advanced-webapi-integration-test':87,422,500 'dotnet-testing-advanced-xunit-upgrade-guid':204,597 'dotnet-testing-autofixture-bas':709 'dotnet-testing-awesome-assertions-guid':680 'dotnet-testing-nsubstitute-mock':383,697 'dotnet-testing-unit-test-fundament':655 'dotnet-testing-xunit-project-setup':669 'ef':139 'elasticsearch':128 'first':665 'fluentassertions.web':690 'fundament':227,621,639,660 'github.com':790 'github.com/kevintsengtw/30days_in_testing_samples)':789 'guid':210,603,685 'http':351,688 'integr':36,76,92,105,262,273,346,379,427,488,505,513,526,824 'ithelp.ithome.com.tw':776 'ithelp.ithome.com.tw/users/20066083/ironman/8276)':775 'ithom':770,779 'level':329,358,408 'make':26 'mention':35 'mock':370,387,701,704 'mongodb':126 'mysql':117 'net':5,41,42,169,582,795,804,806 'nosql':135,136,444,446,567,568 'nsubstitut':386,391,700 'pattern':664 'postgresql':116 'productscontrol':247 'project':673 'redi':127 'references/conversation-examples.md':730,731 'references/decision-tree.md':296,297 'references/learning-paths.md':469,470 'references/skill-classification-map.md':314,315 'references/task-mapping-table.md':324,325 'saa':457 'sampl':788 'server':114 'servic':361,367,393,398 'setup':674 'skill':31,54,264,266,275 'skill-dotnet-testing-advanced' 'softwar':781 'source-kevintsengtw' 'sql':113 'stub':394 'sure':27 'test':3,37,39,73,77,89,93,102,106,121,132,147,159,176,179,187,190,206,224,238,259,263,274,343,347,376,380,385,424,428,433,441,485,489,494,502,506,514,527,548,551,556,564,578,599,618,626,651,657,659,671,682,699,711,737,747,760,787,821,825,831,840,843 'testcontain':14,20,40,123,134,149,152,161,163,435,443,449,496,519,558,566,572,833 'testcontainers-databas':518 'testserv':98 'todolist':355 'tool':55,267 'topic-agent-skills' 'topic-ai-assisted-development' 'topic-copilot-skills' 'topic-csharp' 'topic-dotnet' 'topic-dotnet-testing' 'topic-github-copilot' 'topic-integration-testing' 'topic-testing' 'topic-unit-testing' 'topic-xunit' 'tunit':217,219,226,228,230,232,240,242,612,620,628,727 'unit':658 'upgrad':209,602 'use':29 'user':34 'web':531,750 'webapi':83,91,332,363,411,426,504,525 'webapi-integration-test':524 'webapplicationfactori':48,97,107,706 'whenev':32 'window':800 'workload':808 'wsl2':799 'x':201,213,215,608 'xunit':197,199,208,211,594,601,606,634,672 '下一步':811 '不確定':846 '中等複雜度':371 '了解基礎':640 '了解套件管理':678 '企業級管理系統':456 '使用':53,108,265,390,448,837 '使用容器化環境測試':586 '使用對應的升級指南':845 '使用流程範例':244 '使用真實資料庫驗證行為':534 '使用者':245 '使用者提到的關鍵字':59 '使用者說':62,110,166,194 '來自':648 '依賴外部服務':368 '個':303,306,309 '個完整的對話範例':719 '個常見任務的完整映射':318 '個進階技能':25 '個進階技能分為三大類':300 '個進階技能清單':280 '先學':510,571,638 '先完成':757 '再學':517,575,642 '再進入本進階技能集':762 '分散式測試':172 '分散式系統':543 '列出建議的學習順序':767 '前置技能要求':645 '包含各技能的核心價值':310 '包含情境描述':319 '包含所有範例專案的可執行程式碼':792 '包含整合測試入門':460 '升級':198,216,595 '原則同樣適用':666 '原始資料來源':769 '可以':369 '可能有外部':416 '告訴我您的專案情況':847 '單元測試基礎':739 '回應':352,689 '基本業務邏輯':353 '基礎':78,164,220,381,490,622 '基礎技能集':652,738 '基礎技能集的核心技能':761 '基礎測試能力':734 '基礎與遷移':229 '外部服務':705 '大型電商平台':455 '大情境與多個選項分支':294 '天':466 '天挑戰':774 '如何引導選擇正確技能':722 '如有使用':445 '如需查看完整的':278 '子技能包含完整的設定指引和常見問題排解':50 '學習建議':756 '學習路徑建議':282,459 '學習進階技能前':646 '學習難度與前置技能':312 '學習順序':508,569,636 '完整':81,94,476 '完整技能清單':277 '完整流程':429,507 '完整的':410 '完整的端到端測試':451 '完整的錯誤處理':419 '完整範例程式碼':784 '容器':115 '容器化測試':11,753 '容器化測試技能':109 '容器測試':153 '實施步驟':321 '專案':333,364,412,584 '專案建立完整測試':533 '專案特徵':334,365,413 '展示':720 '常見任務映射表':316 '幫助找到正確的進階子技能':46 '平行執行':234 '建立':392 '建立正式專案的完整測試套件':480 '建立真實資料庫':450 '建議先掌握以下基礎技能':647 '引導對話範例':717 '從':818,828 '微服務':289 '微服務專案':836 '微服務架構':542 '微服務測試':12,171,181,304,579,725,754 '微服務測試專精':463 '微服務測試技能':165 '微服務測試方案':540 '必備技能':653 '快速找到對應的進階子技能':291 '快速技能對照表':58 '快速決策樹':284 '快速產生測試資料':715 '快速開始':815 '想升級到最新版本':609 '想測試':816 '應用':458 '應用測試':192 '應載入的進階子技能':60 '我應該載入':256 '我會幫您分析':848 '我會推薦最適合的學習路徑':814 '我注意到您需要進行':252 '或告訴我您的具體情況':813 '技能':596 '技能分類地圖':298 '技能組合':481,544,614 '技能組合建議':471 '技術需求':793 '掌握資料庫測試':521 '掌握進階功能':644 '推薦以下技能組合':473 '推薦技能':320,340,695 '推薦技能組合':372,420 '提供強大的':691 '提供簡短的推薦理由說明為何選擇該技能':765 '提升測試可讀性':694 '提示詞範例與預期程式碼結構':322 '整合':418 '整合應用':528 '整合測試':8,80,250,254,301,752 '整合測試中可能需要':703 '整合測試也遵循':662 '整合測試層級對應':326 '整合測試技能':61,794 '整合測試需要驗證':687 '新專案選擇測試框架':632 '新測試框架':218 '斷言':693 '斷言與模擬':741 '最後學':523 '會根據具體需求推薦適合的子技能組合':18 '有庫存':404 '有業務邏輯層':366 '服務間通訊':183 '本技能集':749 '本檔案是':44 '核心':552 '根據不同的專案需求':472 '根據使用者需求匹配對應的進階子技能':52 '根據使用者需求推薦具體的進階子技能名稱與載入指令':764 '根據專案複雜度':327 '根據快速對照表':255 '根據測試情境':285 '框架升級':726,755,844 '框架升級技能':193 '框架升級等':23 '框架現代化':589 '框架遷移':290,307 '框架遷移路徑等完整學習計畫與每日學習重點':467 '業務流程測試':85 '業務邏輯簡單':339 '模型綁定':350 '模擬依賴':388 '流程測試':96 '涵蓋':292 '涵蓋整合測試':19 '減少整合測試的樣板程式碼':716 '測試':10,16,22,66,68,84,141,143,155,287,395,581,724 '測試專案':478 '測試所有':535 '測試技能':803 '測試框架升級或遷移':591 '測試框架遷移':13 '測試策略':389,447 '測試資料準備與清理':452 '測試資料生成':740 '測試重點':348 '為什麼必須':661,675,686 '為什麼推薦':702,714 '無外部依賴或使用記憶體實作':338 '版本升級':202 '特殊場景處理':742 '現在按照':270 '現有專案使用':605 '理解基礎':515 '理解專案結構':677 '環境':801 '用途說明':64,112,168,196 '當使用者詢問':7 '的':248,362 '的互動':399 '的指引為您建立測試':276 '相依':360 '相關資源':768 '真實資料庫':138,288,437,498 '真實資料庫行為測試':151 '端點測試':69 '端點與錯誤處理':537 '等進階測試需求時觸發':17 '範例專案':354,401,454 '簡單的':331,335 '簡單的產品目錄':357 '系統':407 '組冠軍':783 '組合':474,538,587 '老派軟體工程師的測試修練':772 '考慮從':633 '能為':530 '與':397 '與基礎技能的關係':732 '若涉及多個技能組合':766 '複雜的業務邏輯':414 '訂單服務':405 '設定等複雜細節':49 '評估':728 '詳細內容請參閱':295,313,323,468,729 '詳細決策樹':281 '請幫我建立':246 '請繼續閱讀本檔案後續內容':283 '讓子技能提供專業的整合測試指引':57 '資料庫':560 '資料庫容器測試':137 '資料庫測試基礎':573 '路由驗證':349 '載入':56 '載入子技能':268 '載入指令':63,111,167,195 '載入正確的子技能能確保使用者獲得完整指引':51 '輸出格式':763 '週':462 '進階':231,630 '進階功能':243 '進階應用':743 '進階技能建立在基礎技能之上':733 '進階整合測試':744 '進階測試導航中心':45 '進階測試技能總覽':43 '進階測試技能總覽與引導中心':6 '進階測試涉及容器管理':47 '適合':479,541,590,604,631 '適合情境':311 '遷移':613,635 '選擇符合您需求的進階技能開始學習':812 '選擇適合的測試策略':328 '選項':592,610 '鐵人賽':780 '鐵人賽系列文章':771 '開始':826,835 '關聯式資料庫容器測試':125 '電商':402 '需要建立測試專案':676 '需要替換服務':707 '需要理解測試基礎概念':667 '需要真實資料庫':415,827 '預期成果':529,580 '驗證所有錯誤情境':453 '驗證服務間通訊':585 '驗證錯誤處理':400","prices":[{"id":"8ef892dc-0e00-4f81-a416-351a8e9bd080","listingId":"01515290-5c35-4ddd-8e0e-cf3aab1f54d4","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"kevintsengtw","category":"dotnet-testing-agent-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T23:04:21.788Z"}],"sources":[{"listingId":"01515290-5c35-4ddd-8e0e-cf3aab1f54d4","source":"github","sourceId":"kevintsengtw/dotnet-testing-agent-skills/dotnet-testing-advanced","sourceUrl":"https://github.com/kevintsengtw/dotnet-testing-agent-skills/tree/main/skills/dotnet-testing-advanced","isPrimary":false,"firstSeenAt":"2026-04-18T23:04:21.788Z","lastSeenAt":"2026-04-24T13:02:25.895Z"}],"details":{"listingId":"01515290-5c35-4ddd-8e0e-cf3aab1f54d4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"kevintsengtw","slug":"dotnet-testing-advanced","github":{"repo":"kevintsengtw/dotnet-testing-agent-skills","stars":23,"topics":["agent-skills","ai-assisted-development","copilot-skills","csharp","dotnet","dotnet-testing","github-copilot","integration-testing","testing","unit-testing","xunit"],"license":"mit","html_url":"https://github.com/kevintsengtw/dotnet-testing-agent-skills","pushed_at":"2026-03-31T07:28:56Z","description":"AI Agent Skills for .NET Testing - Based on 30-Day Testing Challenge (iThome Ironman 2025 Winner)","skill_md_sha":"04042fcc416c7efa15ca0f776c0f598188ba02bd","skill_md_path":"skills/dotnet-testing-advanced/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/kevintsengtw/dotnet-testing-agent-skills/tree/main/skills/dotnet-testing-advanced"},"layout":"multi","source":"github","category":"dotnet-testing-agent-skills","frontmatter":{"name":"dotnet-testing-advanced","description":".NET 進階測試技能總覽與引導中心。當使用者詢問「整合測試」、「API 測試」、「容器化測試」、「微服務測試」、「測試框架遷移」、「Testcontainers」、「Aspire 測試」等進階測試需求時觸發。會根據具體需求推薦適合的子技能組合，涵蓋整合測試、Testcontainers、Aspire 測試、框架升級等 8 個進階技能。\nMake 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.\nKeywords: integration testing, 整合測試, API testing, advanced testing, 進階測試, testcontainers, aspire testing, WebApplicationFactory, TestServer, database test, 資料庫測試, EF Core test, MongoDB test, Redis test, Docker test, 容器測試, microservice test, 微服務測試, .NET Aspire, xUnit upgrade, TUnit, framework migration"},"skills_sh_url":"https://skills.sh/kevintsengtw/dotnet-testing-agent-skills/dotnet-testing-advanced"},"updatedAt":"2026-04-24T13:02:25.895Z"}}