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

dotnet-testing-complex-object-comparison

kevintsengtw/dotnet-testing-agent-skills

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。

14安装·1热度·@kevintsengtw

安装

$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() | 啟用追蹤 | 除錯複雜比對失敗 |

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 来源:kevintsengtw/dotnet-testing-agent-skills。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 dotnet-testing-complex-object-comparison?

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 来源:kevintsengtw/dotnet-testing-agent-skills。

如何安装 dotnet-testing-complex-object-comparison?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

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