·dotnet-testing-test-data-builder-pattern
{}

dotnet-testing-test-data-builder-pattern

kevintsengtw/dotnet-testing-agent-skills

Test Data Builder Pattern 完整實作指南。 使用建構者模式建立可維護、可讀性高的測試資料。 涵蓋流暢介面、語意化方法、預設值設計與 Builder 組合模式。

12Installs·0Trend·@kevintsengtw

Installation

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-data-builder-pattern

SKILL.md

Test Data Builder Pattern 是一種專為測試設計的建構者模式(Builder Pattern)變體,用於建立清晰、可維護且表意明確的測試資料。此模式特別適合處理具有多個屬性的複雜物件,讓測試程式碼更易讀且降低維護成本。

| 特性 | Test Data Builder | Object Mother |

| 彈性 | ✅ 高度彈性,可針對測試調整 | ❌ 固定的測試資料 | | 可讀性 | ✅ 流暢介面,意圖明確 | ⚠️ 需要查看方法實作 | | 維護性 | ✅ 集中管理,易於修改 | ❌ 變更影響所有測試 | | 使用場景 | 單元測試、情境測試 | 簡單的整合測試 |

Test Data Builder Pattern 完整實作指南。 使用建構者模式建立可維護、可讀性高的測試資料。 涵蓋流暢介面、語意化方法、預設值設計與 Builder 組合模式。 Source: kevintsengtw/dotnet-testing-agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-data-builder-pattern
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is dotnet-testing-test-data-builder-pattern?

Test Data Builder Pattern 完整實作指南。 使用建構者模式建立可維護、可讀性高的測試資料。 涵蓋流暢介面、語意化方法、預設值設計與 Builder 組合模式。 Source: kevintsengtw/dotnet-testing-agent-skills.

How do I install dotnet-testing-test-data-builder-pattern?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-data-builder-pattern Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/kevintsengtw/dotnet-testing-agent-skills