
dotnet-testing-advanced-aspire-testingkevintsengtw3/11/2026
.NET Aspire Testing 整合測試框架完整指南。當需要測試 .NET Aspire 分散式應用程式、設定 AppHost 測試或從 Testcontainers 遷移至 Aspire 測試時使用。涵蓋 DistributedApplicationTestingBuilder、容器生命週期管理、多服務編排、Respawn 配置與時間可測試性設計。
Keywords: aspire te...

dotnet-testing-awesome-assertions-guidekevintsengtw3/11/2026
使用 AwesomeAssertions 進行流暢且可讀的測試斷言技能。當需要撰寫清晰的斷言、比對物件、驗證集合、處理複雜比對時使用。涵蓋 Should()、BeEquivalentTo()、Contain()、ThrowAsync() 等完整 API。
Keywords: assertions, awesome assertions, fluent assertions, 斷言, 流暢斷言, S...

dotnet-testing-private-internal-testingkevintsengtw3/7/2026
Private 與 Internal 成員測試策略指南。當需要測試私有或內部成員、設定 InternalsVisibleTo 或評估可測試性設計時使用。涵蓋設計優先思維、反射測試、策略模式重構、AbstractLogger 模式與決策框架。
Keywords: private method testing, internal testing, InternalsVisibleTo, 私有方法測試,...

dotnet-testing-advanced-testcontainers-databasekevintsengtw2/11/2026
使用 Testcontainers 進行容器化資料庫測試的專門技能。當需要測試真實資料庫行為、使用 SQL Server/PostgreSQL/MySQL 容器、測試 EF Core/Dapper 時使用。涵蓋容器啟動、資料庫遷移、測試隔離、容器共享等。
Keywords: testcontainers, 容器測試, container testing, database testing, 資料庫...

dotnet-testing-autofixture-bogus-integrationkevintsengtw2/11/2026
AutoFixture 與 Bogus 整合完整指南。當需要結合 AutoFixture 與 Bogus 產生兼具匿名性與真實感的測試資料時使用。涵蓋 SpecimenBuilder 整合、混合產生器、測試資料工廠與循環參考處理。
Keywords: autofixture bogus integration, autofixture bogus, bogus integration, Faker...

dotnet-testing-datetime-testing-timeproviderkevintsengtw2/11/2026
使用 TimeProvider 測試時間相依邏輯的專門技能。當需要測試 DateTime、控制時間流逝、處理時區轉換、測試過期邏輯時使用。涵蓋 TimeProvider 抽象化、FakeTimeProvider 時間控制、時間凍結與快轉等。
Keywords: datetime, time testing, 時間測試, TimeProvider, FakeTimeProvider, DateTim...

dotnet-testingkevintsengtw2/11/2026
.NET 測試基礎技能總覽與引導中心。當使用者詢問「如何寫 .NET 測試」、「.NET 測試入門」、「需要哪些測試工具」、「測試最佳實踐」、「從零開始學測試」等一般性測試需求時觸發。會根據具體需求推薦適合的子技能組合,涵蓋測試基礎、測試資料、斷言、模擬、特殊場景等 19 個基礎技能。
Keywords: dotnet testing, .NET 測試, 測試入門, 如何寫測試, 測試最佳實踐,...
Showing all 7 skills.