·dotnet-testing-complex-object-comparison
</>

dotnet-testing-complex-object-comparison

kevintsengtw/dotnet-testing-agent-skills

處理複雜物件比對與深層驗證的專門技能。 Il s'agit d'un système DTO/Entity correspondant. 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。

14Installations·1Tendance·@kevintsengtw

Installation

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison

SKILL.md

此技能專注於 .NET 測試中的複雜物件比對場景,使用 AwesomeAssertions 的 BeEquivalentTo API 處理各種進階比對需求。

| Excluding(x => x.Property) | 排除特定屬性 | 排除時間戳記、自動生成欄位 | | Including(x => x.Property) | 只包含特定屬性 | 關鍵屬性驗證 | | IgnoringCyclicReferences() | 忽略循環參照 | 樹狀結構、雙向關聯 | | WithMaxRecursionDepth(n) | 限制遞迴深度 | 深層巢狀結構 | | WithStrictOrdering() | 嚴格順序比對 | 陣列/集合順序重要時 | | WithoutStrictOrdering() | 寬鬆順序比對 | 陣列/集合順序不重要時 | | WithTracing() | 啟用追蹤 | 除錯複雜比對失敗 |

處理複雜物件比對與深層驗證的專門技能。 Il s'agit d'un système DTO/Entity correspondant. 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 Source : kevintsengtw/dotnet-testing-agent-skills.

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-01
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que dotnet-testing-complex-object-comparison ?

處理複雜物件比對與深層驗證的專門技能。 Il s'agit d'un système DTO/Entity correspondant. 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 Source : kevintsengtw/dotnet-testing-agent-skills.

Comment installer dotnet-testing-complex-object-comparison ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

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