·dotnet-testing-autofixture-customization
</>

dotnet-testing-autofixture-customization

kevintsengtw/dotnet-testing-agent-skills

AutoFixture 進階自訂化技術完整指南. Utilice DataAnnotations para crear anotaciones, ISpecimenBuilder y otras aplicaciones. 包含 DateTime/數值範圍建構器、泛型化設計與流暢式擴充方法.

12Instalaciones·0Tendencia·@kevintsengtw

Instalación

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-autofixture-customization

SKILL.md

本技能涵蓋 AutoFixture 的進階自訂化功能,讓您能根據業務需求精確控制測試資料的生成邏輯。從 DataAnnotations 自動整合到自訂 ISpecimenBuilder 實作,掌握這些技術能讓測試資料更符合實際業務需求。

| 實例化方式 | 每次建立新實例 | 全域共用單一實例 | | 執行緒安全 | ❌ 不是 | ✅ 是 | | 效能 | 多次建立有負擔,可能重複值 | 效能更佳,避免重複值 | | 用途建議 | 單執行緒、短期用途 | 多執行緒、全域共用 |

AutoFixture 內建的 RangeAttributeRelay、NumericSequenceGenerator 可能比自訂建構器有更高優先順序:

AutoFixture 進階自訂化技術完整指南. Utilice DataAnnotations para crear anotaciones, ISpecimenBuilder y otras aplicaciones. 包含 DateTime/數值範圍建構器、泛型化設計與流暢式擴充方法. Fuente: kevintsengtw/dotnet-testing-agent-skills.

Ver original

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-autofixture-customization
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-01
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es dotnet-testing-autofixture-customization?

AutoFixture 進階自訂化技術完整指南. Utilice DataAnnotations para crear anotaciones, ISpecimenBuilder y otras aplicaciones. 包含 DateTime/數值範圍建構器、泛型化設計與流暢式擴充方法. Fuente: kevintsengtw/dotnet-testing-agent-skills.

¿Cómo instalo dotnet-testing-autofixture-customization?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-autofixture-customization Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor

¿Dónde está el repositorio de origen?

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