dotnet-testing-complex-object-comparison
✓處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。
Installation
SKILL.md
此技能專注於 .NET 測試中的複雜物件比對場景,使用 AwesomeAssertions 的 BeEquivalentTo API 處理各種進階比對需求。
| Excluding(x => x.Property) | 排除特定屬性 | 排除時間戳記、自動生成欄位 | | Including(x => x.Property) | 只包含特定屬性 | 關鍵屬性驗證 | | IgnoringCyclicReferences() | 忽略循環參照 | 樹狀結構、雙向關聯 | | WithMaxRecursionDepth(n) | 限制遞迴深度 | 深層巢狀結構 | | WithStrictOrdering() | 嚴格順序比對 | 陣列/集合順序重要時 | | WithoutStrictOrdering() | 寬鬆順序比對 | 陣列/集合順序不重要時 | | WithTracing() | 啟用追蹤 | 除錯複雜比對失敗 |
處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 Source: kevintsengtw/dotnet-testing-agent-skills.
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-complex-object-comparison Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
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-complex-object-comparison- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is dotnet-testing-complex-object-comparison?
處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 Source: kevintsengtw/dotnet-testing-agent-skills.
How do I install dotnet-testing-complex-object-comparison?
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-complex-object-comparison 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
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01